summaryrefslogtreecommitdiff
path: root/libarchive_fe/matching.c
diff options
context:
space:
mode:
Diffstat (limited to 'libarchive_fe/matching.c')
-rw-r--r--libarchive_fe/matching.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libarchive_fe/matching.c b/libarchive_fe/matching.c
index bdfd07b7..f774ac77 100644
--- a/libarchive_fe/matching.c
+++ b/libarchive_fe/matching.c
@@ -89,7 +89,7 @@ lafe_exclude_from_file(struct lafe_matching **matching, const char *pathname)
const char *p;
int ret = 0;
- lr = lafe_line_reader(pathname, '\n');
+ lr = lafe_line_reader(pathname, 0);
while ((p = lafe_line_reader_next(lr)) != NULL) {
if (lafe_exclude(matching, p) != 0)
ret = -1;