]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
Made the info_verbosity array 1 element larger.
authorWayne Davison <wayned@samba.org>
Mon, 14 Jul 2008 14:40:10 +0000 (07:40 -0700)
committerWayne Davison <wayned@samba.org>
Mon, 14 Jul 2008 14:40:10 +0000 (07:40 -0700)
options.c

index 1bdea189db6217e0c7b01d2b25fd1f94fb47c11c..d7618b18571d1e3c53ece76150b8a796e364f85b 100644 (file)
--- a/options.c
+++ b/options.c
@@ -207,7 +207,7 @@ static char *debug_verbosity[] = {
 
 #define MAX_VERBOSITY ((int)(sizeof debug_verbosity / sizeof debug_verbosity[0]) - 1)
 
-static char *info_verbosity[MAX_VERBOSITY] = {
+static char *info_verbosity[1+MAX_VERBOSITY] = {
        /*0*/ NULL,
        /*1*/ "copy,del,flist,misc,name,stats,symsafe",
        /*2*/ "backup,misc2,mount,name2,remove,skip",