]> git.ipfire.org Git - thirdparty/sarg.git/commitdiff
The two sarg.conf options "hours" and "weekdays" lacked a return statement after...
authorFrédéric Marchal <fmarchal@users.sourceforge.net>
Tue, 20 Jul 2010 05:00:56 +0000 (05:00 +0000)
committerFrédéric Marchal <fmarchal@users.sourceforge.net>
Tue, 20 Jul 2010 05:00:56 +0000 (05:00 +0000)
getconf.c
sarg.conf

index ba9519805bd380d12ba91640d63020d7a34fe277..dd3ae27f406915d85f8784b79a1a6eaa71823006 100644 (file)
--- a/getconf.c
+++ b/getconf.c
@@ -396,6 +396,7 @@ static void parmtest(char *buf)
          debuga(_("Error: Invalid syntax in hours tag!\n"));
          exit( 1 );
       }
+      return;
    }
 
    if (is_param("weekdays",buf)) {
@@ -403,6 +404,7 @@ static void parmtest(char *buf)
          debuga(_("Error: Invalid syntax in weekdays tag!\n"));
          exit( 1 );
       }
+      return;
    }
 
    if (getparam_2words("topuser_sort_field",buf,TopuserSortField,sizeof(TopuserSortField),TopuserSortOrder,sizeof(TopuserSortOrder))>0) return;
index 9f88cad67541ef658de9f6c98aef11277594610c..e9bce01aeee3c496af8fd8bdcf575ff7ddc63f8d 100644 (file)
--- a/sarg.conf
+++ b/sarg.conf
 #datafile_url ip
 
 # TAG: weekdays
-#      The weekdays to take account ( Sunday->0, Saturday->6 )
+#      The weekdays to take into account ( Sunday->0, Saturday->6 )
 # Example:
 #weekdays 1-3,5
 # Default:
 #weekdays 0-6
 
 # TAG: hours
-#      The hours to take account
+#      The hours to take into account
 # Example:
 #hours 7-12,14,16,18-20
 # Default: