Author: ivan Date: Mon Aug 1 10:04:41 2016 New Revision: 1754722 URL: http://svn.apache.org/viewvc?rev=1754722&view=rev Log: * auth/auth_digest.c (serf__validate_response_digest_auth): Remove redundant check while skipping leading spaces.
Modified: serf/trunk/auth/auth_digest.c Modified: serf/trunk/auth/auth_digest.c URL: http://svn.apache.org/viewvc/serf/trunk/auth/auth_digest.c?rev=1754722&r1=1754721&r2=1754722&view=diff ============================================================================== --- serf/trunk/auth/auth_digest.c (original) +++ serf/trunk/auth/auth_digest.c Mon Aug 1 10:04:41 2016 @@ -504,7 +504,7 @@ serf__validate_response_digest_auth(cons *val++ = '\0'; /* skip leading spaces */ - while (*key && *key == ' ') + while (*key == ' ') key++; /* If the value is quoted, then remove the quotes. */