X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/c6a7f2f48aa3d317343c54e4f47a9d278ab84f2b..531d06b82464e77b81453cbd618a56af7d1542b8:/exclude.c diff --git a/exclude.c b/exclude.c index 5351c30e..53852f69 100644 --- a/exclude.c +++ b/exclude.c @@ -167,7 +167,7 @@ int check_exclude(char *name, struct exclude_struct **local_exclude_list, if (local_exclude_list) { for (n=0; local_exclude_list[n]; n++) { - ent = exclude_list[n]; + ent = local_exclude_list[n]; if (check_one_exclude(name, ent, st)) { report_exclude_result(name, ent, st); return !ent->include;