serf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From i...@apache.org
Subject svn commit: r1754720 - /serf/trunk/auth/auth_digest.c
Date Mon, 01 Aug 2016 09:57:24 GMT
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.  */



Mime
View raw message