Browse Source

Fix warning "suggest parentheses around assignment"

pull/55/head
Xinchen Hui 14 years ago
parent
commit
f7bf83546e
  1. 2
      main/SAPI.c

2
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++;

Loading…
Cancel
Save