]> granicus.if.org Git - apache/commitdiff
typo
authorJim Jagielski <jim@apache.org>
Sat, 21 Nov 2015 13:47:42 +0000 (13:47 +0000)
committerJim Jagielski <jim@apache.org>
Sat, 21 Nov 2015 13:47:42 +0000 (13:47 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1715524 13f79535-47bb-0310-9956-ffa450edef68

server/util.c

index 5679ff8c51cae54a021814193bd6710493fcd2e9..89642a27ca253e40df9a4faf80f877b0074408e8 100644 (file)
@@ -3237,7 +3237,7 @@ AP_DECLARE(int) ap_strncasecmp(const char *s1, const char *s2, apr_size_t n)
                 /* we know both end here */
                 return (0);
             }
-        } while (!--n);
+        } while (--n != 0);
     }
     return (0);
 }