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:
a5a48e2
)
- rather use '\r'/'\n' character symbols than the hex values
author
Michael Wallner
<mike@php.net>
Tue, 14 Mar 2006 09:01:11 +0000
(09:01 +0000)
committer
Michael Wallner
<mike@php.net>
Tue, 14 Mar 2006 09:01:11 +0000
(09:01 +0000)
http_filter_api.c
patch
|
blob
|
history
diff --git
a/http_filter_api.c
b/http_filter_api.c
index dcc71867ed444648c0d09f53e34ff35507882474..2553d681113728bbbe727deb95fc2c7b4ad91fe3 100644
(file)
--- a/
http_filter_api.c
+++ b/
http_filter_api.c
@@
-165,8
+165,8
@@
static HTTP_FILTER_FUNCTION(chunked_decode)
/* ignore preceeding CRLFs (too loose?) */
while (off < PHPSTR_LEN(buffer) && (
- PHPSTR_VAL(buffer)[off] ==
0xa
||
- PHPSTR_VAL(buffer)[off] ==
0xd
)) {
+ PHPSTR_VAL(buffer)[off] ==
'\n'
||
+ PHPSTR_VAL(buffer)[off] ==
'\r'
)) {
++off;
}
if (off) {