helly Sun Mar 30 06:07:36 2003 EDT
Modified files:
/php4/sapi/cli php_cli.c
Log:
simplify and fix
Index: php4/sapi/cli/php_cli.c
diff -u php4/sapi/cli/php_cli.c:1.77 php4/sapi/cli/php_cli.c:1.78
--- php4/sapi/cli/php_cli.c:1.77 Sat Mar 29 16:23:53 2003
+++ php4/sapi/cli/php_cli.c Sun Mar 30 06:07:36 2003
@@ -241,8 +241,7 @@
TSRMLS_FETCH();
if (php_header(TSRMLS_C)) {
- fprintf(stderr, "%s", message);
- fprintf(stderr, "\n");
+ fprintf(stderr, "%s\n", message);
}
}
@@ -265,8 +264,8 @@
{
if (sapi_header) {
PHPWRITE_H(sapi_header->header, sapi_header->header_len);
+ PHPWRITE_H("\r\n", 2);
}
- PHPWRITE_H("\r\n", 2);
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php