From: Sascha Schumann Date: Fri, 27 Oct 2000 15:40:16 +0000 (+0000) Subject: use puts instead of fprintf in log handler. no need for a format string. X-Git-Tag: php-4.0.4RC3~490 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ea7534a84800e0b8d4b59ec01dde18962e10622b;p=php use puts instead of fprintf in log handler. no need for a format string. --- diff --git a/sapi/apache2filter/sapi_apache2.c b/sapi/apache2filter/sapi_apache2.c index 3d36842f11..1dcdc2351d 100644 --- a/sapi/apache2filter/sapi_apache2.c +++ b/sapi/apache2filter/sapi_apache2.c @@ -148,7 +148,7 @@ static void php_apache_sapi_log_message(char *msg) ctx = SG(server_context); - apr_fprintf(ctx->f->r->server->error_log, "%s", msg); + apr_puts(msg, ctx->f->r->server->error_log); } static sapi_module_struct sapi_module = {