From: Henrik Nordstrom Date: Tue, 2 Mar 2010 16:09:48 +0000 (+0100) Subject: And it even compiles.. X-Git-Tag: SQUID_3_2_0_1~386^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=63c5fa4a474f9172726aaa16e651797087c46146;p=thirdparty%2Fsquid.git And it even compiles.. --- diff --git a/src/auth/digest/auth_digest.cc b/src/auth/digest/auth_digest.cc index 46c61f191d..ceeb3d4fad 100644 --- a/src/auth/digest/auth_digest.cc +++ b/src/auth/digest/auth_digest.cc @@ -1103,7 +1103,7 @@ AuthDigestConfig::decode(char const *proxy_auth) const char *pos = NULL; char *username = NULL; digest_nonce_h *nonce; - size_t ilen; + int ilen; debugs(29, 9, "authenticateDigestDecodeAuth: beginning"); @@ -1121,13 +1121,13 @@ AuthDigestConfig::decode(char const *proxy_auth) String temp(proxy_auth); while (strListGetItem(&temp, ',', &item, &ilen, &pos)) { - String value(); + String value; size_t nlen; /* isolate directive name */ if ((p = (const char *)memchr(item, '=', ilen)) && (p - item < ilen)) { nlen = p++ - item; if (!httpHeaderParseQuotedString(p, &value)) - value.initLimit(p, ilen - (p - item)); + value.limitInit(p, ilen - (p - item)); } else nlen = ilen;