mirror of
https://github.com/php/php-src.git
synced 2025-08-16 22:18:50 +02:00
Removed warnings
This commit is contained in:
parent
5a73f8f13f
commit
eb8c558966
1 changed files with 2 additions and 2 deletions
|
@ -323,14 +323,14 @@ static int sapi_cgi_send_headers(sapi_headers_struct *sapi_headers TSRMLS_DC)
|
||||||
PHPWRITE_H(buf, len);
|
PHPWRITE_H(buf, len);
|
||||||
}
|
}
|
||||||
|
|
||||||
h = zend_llist_get_first_ex(&sapi_headers->headers, &pos);
|
h = (sapi_header_struct*)zend_llist_get_first_ex(&sapi_headers->headers, &pos);
|
||||||
while (h) {
|
while (h) {
|
||||||
/* prevent CRLFCRLF */
|
/* prevent CRLFCRLF */
|
||||||
if (h->header_len) {
|
if (h->header_len) {
|
||||||
PHPWRITE_H(h->header, h->header_len);
|
PHPWRITE_H(h->header, h->header_len);
|
||||||
PHPWRITE_H("\r\n", 2);
|
PHPWRITE_H("\r\n", 2);
|
||||||
}
|
}
|
||||||
h = zend_llist_get_next_ex(&sapi_headers->headers, &pos);
|
h = (sapi_header_struct*)zend_llist_get_next_ex(&sapi_headers->headers, &pos);
|
||||||
}
|
}
|
||||||
PHPWRITE_H("\r\n", 2);
|
PHPWRITE_H("\r\n", 2);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue