Don't mention when the file-list is first allocated, just when it
authorWayne Davison <wayned@samba.org>
Thu, 20 Jan 2005 23:57:35 +0000 (23:57 +0000)
committerWayne Davison <wayned@samba.org>
Thu, 20 Jan 2005 23:57:35 +0000 (23:57 +0000)
expands.

flist.c

diff --git a/flist.c b/flist.c
index 0e787eb..7e65582 100644 (file)
--- a/flist.c
+++ b/flist.c
@@ -317,7 +317,7 @@ void flist_expand(struct file_list *flist)
        new_ptr = realloc_array(flist->files, struct file_struct *,
                                flist->malloced);
 
-       if (verbose >= 2) {
+       if (verbose >= 2 && flist->malloced != FLIST_START) {
                rprintf(FINFO, "[%s] expand file_list to %.0f bytes, did%s move\n",
                    who_am_i(),
                    (double)sizeof flist->files[0] * flist->malloced,