httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject svn commit: r1372349 - /httpd/httpd/trunk/server/util.c
Date Mon, 13 Aug 2012 10:03:06 GMT
Author: humbedooh
Date: Mon Aug 13 10:03:06 2012
New Revision: 1372349

URL: http://svn.apache.org/viewvc?rev=1372349&view=rev
Log:
Ditch the !, since that would result in the opposite of what was intended

Modified:
    httpd/httpd/trunk/server/util.c

Modified: httpd/httpd/trunk/server/util.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/util.c?rev=1372349&r1=1372348&r2=1372349&view=diff
==============================================================================
--- httpd/httpd/trunk/server/util.c (original)
+++ httpd/httpd/trunk/server/util.c Mon Aug 13 10:03:06 2012
@@ -2406,7 +2406,7 @@ AP_DECLARE(int) ap_parse_form_data(reque
 
     /* 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);
     }
 



Mime
View raw message