diff options
author | Xinchen Hui <laruence@gmail.com> | 2012-04-04 16:35:32 +0800 |
---|---|---|
committer | Xinchen Hui <laruence@gmail.com> | 2012-04-04 16:35:32 +0800 |
commit | f7bf83546e1f2edb71ad05bd33e01894a359fe02 (patch) | |
tree | 1c984d248cbe7874c84c2819a5eaf69b132f2184 /main | |
parent | 896c4539df4de06b4359bac9d0e6a397665e2024 (diff) | |
download | php-git-f7bf83546e1f2edb71ad05bd33e01894a359fe02.tar.gz |
Fix warning "suggest parentheses around assignment"
Diffstat (limited to 'main')
-rw-r--r-- | main/SAPI.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/SAPI.c b/main/SAPI.c index 99142b4373..e3284cfcf3 100644 --- a/main/SAPI.c +++ b/main/SAPI.c @@ -618,7 +618,7 @@ SAPI_API int sapi_header_op(sapi_header_op_enum op, void *arg TSRMLS_DC) } else { /* new line safety check */ char *s = header_line; - while (s = strpbrk(s, "\n\r")) { + while ((s = strpbrk(s, "\n\r"))) { if (s[1] == ' ' || s[1] == '\t') { /* RFC 2616 allows new lines if followed by SP or HT */ s++; |