cvs: php4(PHP_4_0_7) /main SAPI.c

From: Date: Sun, 16 Dec 2001 23:20:07 +0000
Subject: cvs: php4(PHP_4_0_7) /main SAPI.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-8686@lists.php.net to get a copy of this message
sesser Sun Dec 16 18:20:07 2001 EDT Modified files: (Branch: PHP_4_0_7) /php4/main SAPI.c Log: fixed: fix for my broken patch Index: php4/main/SAPI.c diff -u php4/main/SAPI.c:1.113.2.5 php4/main/SAPI.c:1.113.2.6 --- php4/main/SAPI.c:1.113.2.5 Sun Dec 16 16:46:20 2001 +++ php4/main/SAPI.c Sun Dec 16 18:20:07 2001 @@ -504,8 +504,6 @@ efree(result); efree(Z_STRVAL_P(repl_temp)); efree(repl_temp); - } else { - efree(header_line); } #else if(PG(safe_mode)) { @@ -517,10 +515,11 @@ sapi_header.header = newheader; sapi_header.header_len = newlen; efree(result); - } else { - efree(header_line); - } + } #endif + } + if (sapi_header.header==header_line) { + *colon_offset = ':'; } } }

« previous php.cvs (#8686) next »