Renamed free_exclude_list() to clear_exclude_list().
authorWayne Davison <wayned@samba.org>
Sun, 16 May 2004 23:54:12 +0000 (23:54 +0000)
committerWayne Davison <wayned@samba.org>
Sun, 16 May 2004 23:54:12 +0000 (23:54 +0000)
exclude.c
flist.c

index 1bfbf82..49adcff 100644 (file)
--- 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 41acca3..9aa8850 100644 (file)
--- 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;
        }
 }