projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
catch CRs with %c and remove XFAIL
[m6w6/ext-http]
/
php_http_info.c
diff --git
a/php_http_info.c
b/php_http_info.c
index cc015a8ccd682a0edf37839b285683f5a5e887a7..09964bb6e194d0c45484e14d2ae5ba552aa5ca52 100644
(file)
--- a/
php_http_info.c
+++ b/
php_http_info.c
@@
-111,7
+111,7
@@
PHP_HTTP_API php_http_info_t *php_http_info_parse(php_http_info_t *info, const c
}
/* is request */
}
/* is request */
- else if (*(http - 1) == ' ' &&
!http[lenof("HTTP/1.x")] || http[lenof("HTTP/1.x")] == '\r' || http[lenof("HTTP/1.x")] == '\n'
) {
+ else if (*(http - 1) == ' ' &&
(!http[lenof("HTTP/1.x")] || http[lenof("HTTP/1.x")] == '\r' || http[lenof("HTTP/1.x")] == '\n')
) {
const char *url = strchr(pre_header, ' ');
info->type = PHP_HTTP_REQUEST;
const char *url = strchr(pre_header, ' ');
info->type = PHP_HTTP_REQUEST;