]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Oops..
authorhno <>
Sat, 6 Oct 2001 03:58:58 +0000 (03:58 +0000)
committerhno <>
Sat, 6 Oct 2001 03:58:58 +0000 (03:58 +0000)
helpers/basic_auth/LDAP/squid_ldap_auth.c

index e706f436b7a450fd4360680ea13500931b87f158..2f28e4cc5f23e49edd9e738ceb417e34e999bf16 100644 (file)
@@ -215,7 +215,7 @@ main(int argc, char **argv)
 
     while (fgets(buf, 256, stdin) != NULL) {
        user = strtok(buf, " \r\n");
-       passwd = strtok(buf, "\r\n");
+       passwd = strtok(NULL, "\r\n");
 
        if (!user || !passwd || !passwd[0]) {
            printf("ERR\n");