summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2006-04-02 17:58:17 +0000
committerIlia Alshanetsky <iliaa@php.net>2006-04-02 17:58:17 +0000
commit46ba6516801e174f089b2706ed9a27119b466006 (patch)
tree5e37a5b1c656246f79048e4f24ea8928733e4179
parentf8e6ffee30693a3cb1da5a6ba1d9d20a4a201c33 (diff)
downloadphp-git-46ba6516801e174f089b2706ed9a27119b466006.tar.gz
MFH:
Removed extra space in the Content-Type header for logos Simplified stderr error reporting in apache sapi.
-rw-r--r--main/logos.h2
-rw-r--r--sapi/apache/mod_php5.c3
2 files changed, 2 insertions, 3 deletions
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 e55c74f75c..be82e13369 100644
--- a/sapi/apache/mod_php5.c
+++ b/sapi/apache/mod_php5.c
@@ -307,8 +307,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);
}
}
/* }}} */