Bugfix on external ACL winbind group helper - (ignore previous patch)

From: Guido Serassio <serassio@dont-contact.us>
Date: Fri, 15 Nov 2002 22:47:14 +0100

Hi Henrik,

There is a little bug on debug info of external ACL winbind group helper on
both HEAD and s2_5 branches.
This is the fix:

Index: helpers/external_acl/winbind_group/wb_check_group.c
===================================================================
RCS file:
/cvsroot/squid/squid/helpers/external_acl/winbind_group/wb_check_group
.c,v
retrieving revision 1.2.8.5
diff -u -p -r1.2.8.5 wb_check_group.c
--- helpers/external_acl/winbind_group/wb_check_group.c 22 Oct 2002
19:19:46 -00
00 1.2.8.5
+++ helpers/external_acl/winbind_group/wb_check_group.c 15 Nov 2002
21:43:50 -00
00
@@ -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");
Regards

Guido

-
=======================================================
Serassio Guido
Via Albenga, 11/4 10134 - Torino - ITALY
E-mail: guido.serassio@serassio.it
WWW: http://www.serassio.it
Received on Thu Nov 21 2002 - 10:25:39 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:18:46 MST