Commit 1a75d07c authored by Greg Stein's avatar Greg Stein
Browse files

sneaky for loop... make it more obvious what it is doing


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88105 13f79535-47bb-0310-9956-ffa450edef68
parent fc898f1f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -506,7 +506,8 @@ static content_type *analyze_ct(request_rec *r, char *s)
    cp++;
    mp = cp;

    for (; *cp != ';' && *cp != '\0'; cp++);
    for (; *cp != ';' && *cp != '\0'; cp++)
        continue;
    ctp->subtype = apr_pstrndup(p, mp, cp - mp);
    ctp->subtype = zap_sp(ctp->subtype);
    if ((ctp->subtype == NULL) || (*(ctp->subtype) == '\0') ||