mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
[indentation fixes only]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92389 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -560,11 +560,11 @@ static content_type *analyze_ct(request_rec *r, const char *s)
|
||||
return (NULL);
|
||||
}
|
||||
for (tmp = ctp->type; *tmp; tmp++) {
|
||||
if ((*tmp == ';') || (*tmp == ' ') || (*tmp == '\t')) {
|
||||
ap_log_error(APLOG_MARK, APLOG_WARNING, 0, ss,
|
||||
"Cannot get media subtype.");
|
||||
return (NULL);
|
||||
}
|
||||
if ((*tmp == ';') || (*tmp == ' ') || (*tmp == '\t')) {
|
||||
ap_log_error(APLOG_MARK, APLOG_WARNING, 0, ss,
|
||||
"Cannot get media subtype.");
|
||||
return (NULL);
|
||||
}
|
||||
}
|
||||
|
||||
/* getting a subtype */
|
||||
@@ -580,11 +580,11 @@ static content_type *analyze_ct(request_rec *r, const char *s)
|
||||
return (NULL);
|
||||
}
|
||||
for (tmp = ctp->subtype; *tmp; tmp++) {
|
||||
if ((*tmp == ' ') || (*tmp == '\t')) {
|
||||
ap_log_error(APLOG_MARK, APLOG_WARNING, 0, ss,
|
||||
"Cannot get media subtype.");
|
||||
return (NULL);
|
||||
}
|
||||
if ((*tmp == ' ') || (*tmp == '\t')) {
|
||||
ap_log_error(APLOG_MARK, APLOG_WARNING, 0, ss,
|
||||
"Cannot get media subtype.");
|
||||
return (NULL);
|
||||
}
|
||||
}
|
||||
if (*cp == '\0') {
|
||||
return (ctp);
|
||||
|
Reference in New Issue
Block a user