From: Ilia Alshanetsky Date: Sun, 2 Apr 2006 17:58:07 +0000 (+0000) Subject: Removed extra space in the Content-Type header for logos X-Git-Tag: RELEASE_1_3~168 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ae0885701600e60cec9cb5f30940e9679975af22;p=php Removed extra space in the Content-Type header for logos Simplified stderr error reporting in apache sapi. --- diff --git a/main/logos.h b/main/logos.h index b02a7db26b..71c30b815a 100644 --- a/main/logos.h +++ b/main/logos.h @@ -18,7 +18,7 @@ /* $Id$ */ -#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, diff --git a/sapi/apache/mod_php5.c b/sapi/apache/mod_php5.c index 24e68dd7a7..ed1434b146 100644 --- a/sapi/apache/mod_php5.c +++ b/sapi/apache/mod_php5.c @@ -300,8 +300,7 @@ static void php_apache_log_message(char *message) log_error(message, ((request_rec *) SG(server_context))->server); #endif } else { - fprintf(stderr, "%s", message); - fprintf(stderr, "\n"); + fprintf(stderr, "%s\n", message); } } /* }}} */