From dbf745cd08a2a97b85e5f5240aa9086b28c90535 Mon Sep 17 00:00:00 2001 From: hno <> Date: Sat, 30 Nov 2002 04:35:07 +0000 Subject: [PATCH] From Guido: 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"); -- 2.47.3