From: hno <> Date: Sat, 30 Nov 2002 04:35:07 +0000 (+0000) Subject: From Guido: X-Git-Tag: SQUID_3_0_PRE1~509 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dbf745cd08a2a97b85e5f5240aa9086b28c90535;p=thirdparty%2Fsquid.git From Guido: There is a little bug on debug info of external ACL winbind group helper on both HEAD and s2_5 branches. --- diff --git a/helpers/external_acl/winbind_group/wb_check_group.c b/helpers/external_acl/winbind_group/wb_check_group.c index 6b94155f66..9ed948c0fd 100755 --- a/helpers/external_acl/winbind_group/wb_check_group.c +++ b/helpers/external_acl/winbind_group/wb_check_group.c @@ -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 @@ -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");