summaryrefslogtreecommitdiff
path: root/src/fr-archive.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fr-archive.c')
-rw-r--r--src/fr-archive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fr-archive.c b/src/fr-archive.c
index 56a9918..fcb4c82 100644
--- a/src/fr-archive.c
+++ b/src/fr-archive.c
@@ -2911,7 +2911,7 @@ compute_base_path (const char *base_dir,
return new_path;
}
- if (path_len <= base_dir_len)
+ if (path_len < base_dir_len)
return NULL;
base_path = path + base_dir_len;