[svn-commits] twilson: trunk r111213 - /trunk/main/http.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Wed Mar 26 16:23:30 CDT 2008
Author: twilson
Date: Wed Mar 26 16:23:29 2008
New Revision: 111213
URL: http://svn.digium.com/view/asterisk?view=rev&rev=111213
Log:
Stupid strcasecmp function :-)
Modified:
trunk/main/http.c
Modified: trunk/main/http.c
URL: http://svn.digium.com/view/asterisk/trunk/main/http.c?view=diff&rev=111213&r1=111212&r2=111213
==============================================================================
--- trunk/main/http.c (original)
+++ trunk/main/http.c Wed Mar 26 16:23:29 2008
@@ -908,7 +908,7 @@
out = ast_http_error(501, "Not Implemented", NULL,
"Attempt to use unimplemented / unsupported method");
} else { /* try to serve it */
- out = handle_uri(ser, uri, (strcasecmp(buf, "get")) ? AST_HTTP_GET : AST_HTTP_POST,
+ out = handle_uri(ser, uri, (!strcasecmp(buf, "get")) ? AST_HTTP_GET : AST_HTTP_POST,
&status, &title, &contentlength, &vars, &static_content);
}
More information about the svn-commits
mailing list