RE: [PHP-CVS] cvs: php4 /sapi/apache2filter sapi_apache2.c
| From: | Sean R. Bright | Date: | Thu, 16 Aug 2001 10:03:49 +0000 |
| Subject: | RE: [PHP-CVS] cvs: php4 /sapi/apache2filter sapi_apache2.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-6885@lists.php.net to get a copy of this message | ||
Wouldn't it be faster not to use the format string at all?
ap_log_error(NULL, APLOG_ERR | APLOG_NOERRNO | APLOG_STARTUP, 0,
ctx->f->r->server, msg);
Sean
> -----Original Message-----
> From: Sterling Hughes [mailto:sterling@designmultimedia.com]
> Sent: Thursday, August 16, 2001 2:09 AM
> To: php-cvs@lists.php.net
> Subject: [PHP-CVS] cvs: php4 /sapi/apache2filter sapi_apache2.c
>
>
> sterling Thu Aug 16 02:09:12 2001 EDT
>
> Modified files:
> /php4/sapi/apache2filter sapi_apache2.c
> Log:
> darn noet
>
>
> Index: php4/sapi/apache2filter/sapi_apache2.c
> diff -u php4/sapi/apache2filter/sapi_apache2.c:1.41
> php4/sapi/apache2filter/sapi_apache2.c:1.42
> --- php4/sapi/apache2filter/sapi_apache2.c:1.41 Thu Aug
> 16 02:05:57 2001
> +++ php4/sapi/apache2filter/sapi_apache2.c Thu Aug 16 02:09:12 2001
> @@ -182,13 +182,13 @@
> TSRMLS_FETCH();
>
> ctx = SG(server_context);
> -
> - /* We use APLOG_STARTUP because it keeps us from printing the
> - * data and time information at the beginning of the error log
> - * line. Not sure if this is correct, but it mirrors
> what happens
> - * with Apache 1.3 -- rbb
> - */
> - ap_log_error(NULL, APLOG_ERR | APLOG_NOERRNO |
> APLOG_STARTUP, 0, ctx->f->r->server, "%s", msg);
> +
> + /* We use APLOG_STARTUP because it keeps us from printing the
> + * data and time information at the beginning of the error log
> + * line. Not sure if this is correct, but it mirrors
> what happens
> + * with Apache 1.3 -- rbb
> + */
> + ap_log_error(NULL, APLOG_ERR | APLOG_NOERRNO |
> APLOG_STARTUP, 0, ctx->f->r->server, "%s", msg);
> }
>
> static sapi_module_struct apache2_sapi_module = {
>
>
>
> --
> PHP CVS Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-cvs-unsubscribe@lists.php.net
> For additional commands, e-mail: php-cvs-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>