cvs: /php4 SAPI.c

From: Date: Sun, 19 Dec 1999 02:04:51 +0000
Subject: cvs: /php4 SAPI.c
Groups: php.version4 
Request: Send a blank email to php-version4+get-8160@lists.php.net to get a copy of this message
evan Sat Dec 18 21:04:51 1999 EDT Modified files: /php4 SAPI.c Log: Fix for #2994 Index: php4/SAPI.c diff -u php4/SAPI.c:1.37 php4/SAPI.c:1.38 --- php4/SAPI.c:1.37 Fri Dec 10 07:38:20 1999 +++ php4/SAPI.c Sat Dec 18 21:04:20 1999 @@ -302,10 +302,10 @@ http_status_line.header_len = strlen(SG(sapi_headers).http_status_line); sapi_module.send_header(&http_status_line, SG(server_context)); } - if (SG(sapi_headers).send_default_content_type) { - sapi_module.send_header(&default_header, SG(server_context)); - } zend_llist_apply_with_argument(&SG(sapi_headers).headers, (void (*)(void *, void *)) sapi_module.send_header, SG(server_context)); + if(SG(sapi_headers).send_default_content_type) { + sapi_module.send_header(&default_header,SG(server_context)); + } sapi_module.send_header(NULL, SG(server_context)); SG(headers_sent) = 1; ret = SUCCESS;

« previous php.version4 (#8160) next »