]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Minor corrections to make GCC happy
authorhno <>
Sat, 6 Jul 2002 18:33:09 +0000 (18:33 +0000)
committerhno <>
Sat, 6 Jul 2002 18:33:09 +0000 (18:33 +0000)
helpers/external_acl/ip_user/main.c
helpers/external_acl/ldap_group/squid_ldap_group.c

index ba3c8b4cbe0210b91f60e72d52e789cb4b3ac040..8fe676a699a0aaf03ab269702f2c86fc9721a74c 100644 (file)
@@ -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",
index 8aba8a1a96561d59968dde6bde719401fb23027a..272c72a2f664a7f9ef8508faa903b23e82311f45 100644 (file)
@@ -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;