From: hno <> Date: Sat, 6 Oct 2001 03:58:58 +0000 (+0000) Subject: Oops.. X-Git-Tag: SQUID_3_0_PRE1~1373 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2542502fe299fc97c61e6206675363fa5cf48c1d;p=thirdparty%2Fsquid.git Oops.. --- diff --git a/helpers/basic_auth/LDAP/squid_ldap_auth.c b/helpers/basic_auth/LDAP/squid_ldap_auth.c index e706f436b7..2f28e4cc5f 100644 --- a/helpers/basic_auth/LDAP/squid_ldap_auth.c +++ b/helpers/basic_auth/LDAP/squid_ldap_auth.c @@ -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");