diff options
-rw-r--r-- | librazor/razor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/librazor/razor.c b/librazor/razor.c index bfce109..3bfee2f 100644 --- a/librazor/razor.c +++ b/librazor/razor.c @@ -510,7 +510,7 @@ razor_set_list_files(struct razor_set *set, const char *pattern) } } e = razor_set_find_entry(set, set->files.data, buffer); - if (e->start != 0) + if (e && e->start != 0) list_dir(set, e, buffer, base); } |