Mailing List Archive

r922 - trunk/varnish-cache/lib/libvarnishapi
Author: phk
Date: 2006-09-06 13:21:40 +0200 (Wed, 06 Sep 2006)
New Revision: 922

Modified:
trunk/varnish-cache/lib/libvarnishapi/shmlog.c
Log:
Fix buglet in -i/-x name matching


Modified: trunk/varnish-cache/lib/libvarnishapi/shmlog.c
===================================================================
--- trunk/varnish-cache/lib/libvarnishapi/shmlog.c 2006-09-06 10:45:55 UTC (rev 921)
+++ trunk/varnish-cache/lib/libvarnishapi/shmlog.c 2006-09-06 11:21:40 UTC (rev 922)
@@ -393,7 +393,7 @@
for (j = 0; j < l; j++)
if (tolower(*q++) != tolower(*p++))
break;
- if (j != l)
+ if (j != l || *p != '\0')
continue;

if (arg == 'x')