projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
6519517
)
Fix php_http_message.c:136:14: warning: comparison between 'enum <anonymous>' and...
author
Remi Collet
<remi@php.net>
Mon, 31 Dec 2012 13:53:22 +0000
(13:53 +0000)
committer
Remi Collet
<remi@php.net>
Mon, 31 Dec 2012 13:53:22 +0000
(13:53 +0000)
php_http_message.c
patch
|
blob
|
history
diff --git
a/php_http_message.c
b/php_http_message.c
index 3d18e28f7e08ac560009a18fa0acf789458e3b2b..3ac96550b5ac20bf8d819775c635d879b034ed66 100644
(file)
--- a/
php_http_message.c
+++ b/
php_http_message.c
@@
-133,7
+133,7
@@
PHP_HTTP_API php_http_message_t *php_http_message_parse(php_http_message_t *msg,
if (greedy) {
flags |= PHP_HTTP_MESSAGE_PARSER_GREEDY;
}
- if (FAILURE == php_http_message_parser_parse(&p, &buf, flags, &msg)) {
+ if (
PHP_HTTP_MESSAGE_PARSER_STATE_
FAILURE == php_http_message_parser_parse(&p, &buf, flags, &msg)) {
if (free_msg) {
php_http_message_free(&msg);
}