]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
From Guido:
authorhno <>
Sat, 30 Nov 2002 04:35:07 +0000 (04:35 +0000)
committerhno <>
Sat, 30 Nov 2002 04:35:07 +0000 (04:35 +0000)
There is a little bug on debug info of external ACL winbind group helper on
both HEAD and s2_5 branches.

helpers/external_acl/winbind_group/wb_check_group.c

index 6b94155f66a50276b170261f1231c486277b3884..9ed948c0fd5684a9d2c6a73c4107567854c808b2 100755 (executable)
@@ -1,5 +1,5 @@
 /*
- * $Id: wb_check_group.c,v 1.6 2002/10/22 09:45:16 hno Exp $
+ * $Id: wb_check_group.c,v 1.7 2002/11/29 21:35:07 hno Exp $
  *
  * This is a helper for the external ACL interface for Squid Cache
  * Copyright (C) 2002 Guido Serassio <squidnt@serassio.it>
@@ -283,7 +283,7 @@ main (int argc, char *argv[])
        if ((p = strchr(buf, '\r')) != NULL)
            *p = '\0';          /* strip \r */
 
-       debug("Got '%s' from Squid (length: %d).\n",buf,sizeof(buf));
+       debug("Got '%s' from Squid (length: %d).\n",buf,strlen(buf));
 
        if (buf[0] == '\0') {
            warn("Invalid Request\n");