Author: ivan Date: Mon Aug 1 09:57:24 2016 New Revision: 1754720 URL: http://svn.apache.org/viewvc?rev=1754720&view=rev Log: * auth/auth_digest.c (serf__handle_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=1754720&r1=1754719&r2=1754720&view=diff ============================================================================== --- serf/trunk/auth/auth_digest.c (original) +++ serf/trunk/auth/auth_digest.c Mon Aug 1 09:57:24 2016 @@ -287,7 +287,7 @@ serf__handle_digest_auth(const serf__aut *val++ = '\0'; /* skip leading spaces */ - while (*key && *key == ' ') + while (*key == ' ') key++; /* If the value is quoted, then remove the quotes. */