X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/8950ac03f8fd0fb645c7d2374195ea884d091f72..6c65e14634d9d2a7b103fe53aa7585b196c38227:/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;