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:
afd874c
)
- use http_locate_eol()
author
Michael Wallner
<mike@php.net>
Thu, 8 Sep 2005 17:37:35 +0000
(17:37 +0000)
committer
Michael Wallner
<mike@php.net>
Thu, 8 Sep 2005 17:37:35 +0000
(17:37 +0000)
http_info_api.c
patch
|
blob
|
history
diff --git
a/http_info_api.c
b/http_info_api.c
index 18fea6f1bddbb96272dbe9b5c7ab94f66f6ba035..a6b12139e3d56126dc1e15e9c62fb2c11b2af7d3 100644
(file)
--- a/
http_info_api.c
+++ b/
http_info_api.c
@@
-81,7
+81,7
@@
PHP_HTTP_API STATUS _http_info_parse_ex(const char *pre_header, http_info *info,
}
/* where's the end of the line */
- if (!(
(end = strchr(pre_header, '\r')) || (end = strchr(pre_header, '\n')
))) {
+ if (!(
end = http_locate_eol(pre_header, NULL
))) {
end = pre_header + strlen(pre_header);
}