From: Daniel Gruno Date: Mon, 13 Aug 2012 10:03:06 +0000 (+0000) Subject: Ditch the !, since that would result in the opposite of what was intended X-Git-Tag: 2.5.0-alpha~6439 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62bdc76f1868d4462d04ee9016d4bef7eecc856b;p=thirdparty%2Fapache%2Fhttpd.git Ditch the !, since that would result in the opposite of what was intended git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1372349 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/util.c b/server/util.c index ca1027ebc1e..a8b50479b17 100644 --- a/server/util.c +++ b/server/util.c @@ -2406,7 +2406,7 @@ AP_DECLARE(int) ap_parse_form_data(request_rec *r, ap_filter_t *f, /* sanity check - we only support forms for now */ ct = apr_table_get(r->headers_in, "Content-Type"); - if (!ct || !strncmp("application/x-www-form-urlencoded", ct, 33)) { + if (!ct || strncmp("application/x-www-form-urlencoded", ct, 33)) { return ap_discard_request_body(r); }