From 8cbf495a57ac1bb80f8923922b3f1ffdd09905c9 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Sun, 16 May 2004 23:54:12 +0000 Subject: [PATCH] Renamed free_exclude_list() to clear_exclude_list(). --- exclude.c | 4 ++-- flist.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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; } diff --git a/flist.c b/flist.c index 41acca35..9aa8850a 100644 --- a/flist.c +++ b/flist.c @@ -953,7 +953,7 @@ void send_file_name(int f, struct file_list *flist, char *fname, rprintf(FINFO, "[%s] popping %sexclude list\n", who_am_i(), local_exclude_list.debug_type); } - free_exclude_list(&local_exclude_list); + clear_exclude_list(&local_exclude_list); local_exclude_list = last_list; } } -- 2.34.1