]> git.ipfire.org Git - thirdparty/sarg.git/commitdiff
Fix regression showing empty columns in the index
authorFrédéric Marchal <fmarchal@users.sourceforge.net>
Tue, 2 Mar 2010 12:09:38 +0000 (12:09 +0000)
committerFrédéric Marchal <fmarchal@users.sourceforge.net>
Tue, 2 Mar 2010 12:09:38 +0000 (12:09 +0000)
util.c

diff --git a/util.c b/util.c
index eb5d668aebd7ab20ea8e40e58095308202cc370b..0f73f434c0acbe3f108ac2ec3377ddc720f79221 100644 (file)
--- a/util.c
+++ b/util.c
@@ -783,7 +783,7 @@ void obttotal(const char *dirname, const char *name, char *tbytes, int nuser, ch
          debuga(_("There is a invalid user in file %s"),wdir);
          exit(1);
       }
-      if(strcmp(warea,"TOTAL") != 0)
+      if(strcmp(user,"TOTAL") != 0)
          continue;
       if (getword_skip(MAXLEN,&gwarea,sep)<0) {
          debuga(_("There a broken total number of access in file %s"),wdir);