diff options
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++; |