projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdf4443
)
Stupid strcasecmp function :-)
author
Terry Wilson
<twilson@digium.com>
Wed, 26 Mar 2008 21:23:29 +0000
(21:23 +0000)
committer
Terry Wilson
<twilson@digium.com>
Wed, 26 Mar 2008 21:23:29 +0000
(21:23 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@111213
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
main/http.c
patch
|
blob
|
history
diff --git
a/main/http.c
b/main/http.c
index
9e8735b
..
ca2fe5d
100644
(file)
--- 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);
}