Browse Source

MFH:

Removed extra space in the Content-Type header for logos
Simplified stderr error reporting in apache sapi.
PHP-5.1
Ilia Alshanetsky 20 years ago
parent
commit
46ba651680
  1. 2
      main/logos.h
  2. 3
      sapi/apache/mod_php5.c

2
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,

3
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);
}
}
/* }}} */

Loading…
Cancel
Save