diff options
author | twilson <twilson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-03-26 21:23:29 +0000 |
---|---|---|
committer | twilson <twilson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-03-26 21:23:29 +0000 |
commit | 61fc9edc56d2b902831427d111d6394c07c853b1 (patch) | |
tree | 1c3b665af17666b5fdf7ca9b0fec86a8075d6703 /main/http.c | |
parent | 69426738cd097ea7a6e8dd07dcef8504007c1798 (diff) |
Stupid strcasecmp function :-)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@111213 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/http.c')
-rw-r--r-- | main/http.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/http.c b/main/http.c index 9e8735b2c..ca2fe5df9 100644 --- a/main/http.c +++ b/main/http.c @@ -908,7 +908,7 @@ static void *httpd_helper_thread(void *data) 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); } |