iliaa Sun Apr 2 17:58:07 2006 UTC
Modified files:
/php-src/sapi/apache mod_php5.c
/php-src/main logos.h
Log:
Removed extra space in the Content-Type header for logos
Simplified stderr error reporting in apache sapi.
http://cvs.php.net/viewcvs.cgi/php-src/sapi/apache/mod_php5.c?r1=1.30&r2=1.31&diff_format=u
Index: php-src/sapi/apache/mod_php5.c
diff -u php-src/sapi/apache/mod_php5.c:1.30 php-src/sapi/apache/mod_php5.c:1.31
--- php-src/sapi/apache/mod_php5.c:1.30 Tue Mar 7 14:43:16 2006
+++ php-src/sapi/apache/mod_php5.c Sun Apr 2 17:58:06 2006
@@ -17,7 +17,7 @@
| PHP 4.0 patches by Zeev Suraski <[EMAIL PROTECTED]> |
+----------------------------------------------------------------------+
*/
-/* $Id: mod_php5.c,v 1.30 2006/03/07 14:43:16 iliaa Exp $ */
+/* $Id: mod_php5.c,v 1.31 2006/04/02 17:58:06 iliaa Exp $ */
#include "php_apache_http.h"
#include "http_conf_globals.h"
@@ -300,8 +300,7 @@
log_error(message, ((request_rec *)
SG(server_context))->server);
#endif
} else {
- fprintf(stderr, "%s", message);
- fprintf(stderr, "\n");
+ fprintf(stderr, "%s\n", message);
}
}
/* }}} */
http://cvs.php.net/viewcvs.cgi/php-src/main/logos.h?r1=1.16&r2=1.17&diff_format=u
Index: php-src/main/logos.h
diff -u php-src/main/logos.h:1.16 php-src/main/logos.h:1.17
--- php-src/main/logos.h:1.16 Tue Mar 7 16:47:19 2006
+++ php-src/main/logos.h Sun Apr 2 17:58:07 2006
@@ -16,9 +16,9 @@
+----------------------------------------------------------------------+
*/
-/* $Id: logos.h,v 1.16 2006/03/07 16:47:19 cmv Exp $ */
+/* $Id: logos.h,v 1.17 2006/04/02 17:58:07 iliaa Exp $ */
-#define CONTEXT_TYPE_IMAGE_GIF "Content-Type: image/gif"
+#define CONTEXT_TYPE_IMAGE_GIF "Content-Type: image/gif"
unsigned char zend_logo[] = {
71, 73, 70, 56, 57, 97, 113, 0, 72, 0,
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php