--------------------- PatchSet 5490 Date: 2002/11/16 17:47:06 Author: serassio Branch: nt-2_5 Tag: (none) Log: Fixed wrong debug output Members: helpers/external_acl/win32_group/win32_check_group.c:1.1.8.8->1.1.8.9 Index: squid/helpers/external_acl/win32_group/win32_check_group.c =================================================================== RCS file: /cvsroot/squid-sf//squid/helpers/external_acl/win32_group/Attic/win32_check_group.c,v retrieving revision 1.1.8.8 retrieving revision 1.1.8.9 diff -u -r1.1.8.8 -r1.1.8.9 --- squid/helpers/external_acl/win32_group/win32_check_group.c 22 Oct 2002 19:28:17 -0000 1.1.8.8 +++ squid/helpers/external_acl/win32_group/win32_check_group.c 16 Nov 2002 17:47:06 -0000 1.1.8.9 @@ -1,5 +1,5 @@ /* - * $Id: win32_check_group.c,v 1.1.8.8 2002/10/22 19:28:17 serassio Exp $ + * $Id: win32_check_group.c,v 1.1.8.9 2002/11/16 17:47:06 serassio Exp $ * * This is a helper for the external ACL interface for Squid Cache * Copyright (C) 2002 Guido Serassio @@ -499,7 +499,7 @@ 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') { fprintf(stderr, "Invalid Request\n");