From: andersb Date: Sat, 5 Aug 2006 22:43:01 +0000 (+0000) Subject: Checks show that my IP adress checker is very restrictive and probably deletes other... X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b37400959aa50f2fbe62b394ca400959a8438f78;p=varnish Checks show that my IP adress checker is very restrictive and probably deletes other loglines. We still bleeds null lines also. This will have to be cleaned up. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@687 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishncsa/varnishncsa.c b/varnish-cache/bin/varnishncsa/varnishncsa.c index 7e523087..c9ab26f0 100644 --- a/varnish-cache/bin/varnishncsa/varnishncsa.c +++ b/varnish-cache/bin/varnishncsa/varnishncsa.c @@ -134,7 +134,6 @@ extended_log_format(unsigned char *p, char *w_opt) ll[u].df_h[j] = '\0'; // put on a NULL at end of buffer. //printf("New session [%d]: %s \n",u, ll[u].df_h); ll[u].w = 1; // We have IP - //printf("w = 1\n"); break; @@ -283,7 +282,6 @@ extended_log_format(unsigned char *p, char *w_opt) strncpy(ll[u].df_h, p + 4, j); ll[u].df_h[j] = '\0'; // put on a NULL at end of buffer. ll[u].w = 1; // We have a IP - //printf("w = 1\n"); }