From: hno <> Date: Sat, 6 Jul 2002 18:33:09 +0000 (+0000) Subject: Minor corrections to make GCC happy X-Git-Tag: SQUID_3_0_PRE1~919 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0156f7b2492b6d190745f60f084e83a2025bd7fd;p=thirdparty%2Fsquid.git Minor corrections to make GCC happy --- diff --git a/helpers/external_acl/ip_user/main.c b/helpers/external_acl/ip_user/main.c index ba3c8b4cbe..8fe676a699 100644 --- a/helpers/external_acl/ip_user/main.c +++ b/helpers/external_acl/ip_user/main.c @@ -1,4 +1,4 @@ -/* $Id: main.c,v 1.1 2002/06/23 14:25:17 hno Exp $ +/* $Id: main.c,v 1.2 2002/07/06 12:33:09 hno Exp $ * Copyright (C) 2002 Rodrigo Campos * * This program is free software; you can redistribute it and/or modify @@ -73,6 +73,8 @@ main (int argc, char *argv[]) username = strtok (NULL, " \t"); } else { fprintf (stderr, "helper: unable to read tokens\n"); + printf ("ERR\n"); + continue; } #ifdef DEBUG printf ("result: %d\n", diff --git a/helpers/external_acl/ldap_group/squid_ldap_group.c b/helpers/external_acl/ldap_group/squid_ldap_group.c index 8aba8a1a96..272c72a2f6 100644 --- a/helpers/external_acl/ldap_group/squid_ldap_group.c +++ b/helpers/external_acl/ldap_group/squid_ldap_group.c @@ -257,7 +257,6 @@ recover: static int searchLDAP(LDAP * ld, char *group, char *member, char *grouprdn) { -int rc; char filter[256]; static char searchbase[256]; LDAPMessage *res = NULL;