fixed typo in rsyncd exclude handling
[rsync/rsync.git] / clientserver.c
index 33e7b44..244bbc6 100644 (file)
@@ -165,7 +165,7 @@ static int rsync_module(int fd, int i)
        p = lp_exclude_from(i);
        add_exclude_file(p, 1);
 
-       p = lp_exclude_from(i);
+       p = lp_exclude(i);
        add_exclude_line(p);
 
        if (chroot(lp_path(i))) {