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 0e787ebefc7f8a0fb7246ad420df43a2838ce10a..7e65582063cf0853dd5f61b81f8f7acee6ae74ab 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,