From: Automatic source maintenance Date: Mon, 31 Oct 2011 01:15:38 +0000 (-0600) Subject: SourceFormat Enforcement X-Git-Tag: SQUID_3_1_17~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a64d549462a7428f2d2e7ceb6760d9934e84eca9;p=thirdparty%2Fsquid.git SourceFormat Enforcement --- diff --git a/src/auth/digest/auth_digest.cc b/src/auth/digest/auth_digest.cc index 2b62d3cac9..2df4dbf9a8 100644 --- a/src/auth/digest/auth_digest.cc +++ b/src/auth/digest/auth_digest.cc @@ -1145,8 +1145,8 @@ AuthDigestConfig::decode(char const *proxy_auth) if (*p == '"' && *(p + vlen-1) == '"') { value.limitInit(p+1, vlen-2); } else { - value.limitInit(p, vlen); - } + value.limitInit(p, vlen); + } } else if (nlen == 3 && memcmp(item,"qop",3) == 0) { // qop is more special. // On request this must not be quoted-string de-quoted. But is several values wrapped in '"'