]> granicus.if.org Git - apache/commitdiff
Remove an extraneous loop condition
authorBrian Pane <brianp@apache.org>
Sun, 12 May 2002 03:59:31 +0000 (03:59 +0000)
committerBrian Pane <brianp@apache.org>
Sun, 12 May 2002 03:59:31 +0000 (03:59 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95045 13f79535-47bb-0310-9956-ffa450edef68

modules/http/mod_mime.c

index d7ae93e267922deb77e2a9e499ce333d124df919..0fb268bed4a4f943d3bf829cdece77e5f085a4ea 100644 (file)
@@ -554,7 +554,7 @@ static content_type *analyze_ct(request_rec *r, const char *s)
 
     /* getting a type */
     cp = mp;
-    while (cp && apr_isspace(*cp)) {
+    while (apr_isspace(*cp)) {
         cp++;
     }
     if (!*cp) {