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 1bdea18..d7618b1 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",