X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/c1b29492c551f43aa2b5385e60f8b6461e483f91..8cbf495a57ac1bb80f8923922b3f1ffdd09905c9:/exclude.c diff --git a/exclude.c b/exclude.c index 1bfbf82f..49adcff6 100644 --- a/exclude.c +++ b/exclude.c @@ -100,7 +100,7 @@ static void free_exclude(struct exclude_struct *ex) free(ex); } -void free_exclude_list(struct exclude_list_struct *listp) +void clear_exclude_list(struct exclude_list_struct *listp) { struct exclude_struct *ent, *next; @@ -303,7 +303,7 @@ void add_exclude(struct exclude_list_struct *listp, const char *pattern, "[%s] clearing %sexclude list\n", who_am_i(), listp->debug_type); } - free_exclude_list(listp); + clear_exclude_list(listp); continue; }