summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2006-04-02 17:59:33 +0000
committerIlia Alshanetsky <iliaa@php.net>2006-04-02 17:59:33 +0000
commit0946fc2fbf5dac958393124be63ac63818390452 (patch)
tree5810c960363c2cc939b3485b486edb5166533679
parent07e361458a81ad3e6d27f0966fb2ab131f5e5cbf (diff)
downloadphp-git-0946fc2fbf5dac958393124be63ac63818390452.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_php4.c3
2 files changed, 2 insertions, 3 deletions
diff --git a/main/logos.h b/main/logos.h
index 2c513f3be4..835b526b5c 100644
--- a/main/logos.h
+++ b/main/logos.h
@@ -1,4 +1,4 @@
-#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, 100, 0, 58, 0,
diff --git a/sapi/apache/mod_php4.c b/sapi/apache/mod_php4.c
index 70e40b4f5c..675cdbb4f2 100644
--- a/sapi/apache/mod_php4.c
+++ b/sapi/apache/mod_php4.c
@@ -290,8 +290,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);
}
}
/* }}} */