com php-src: Fixed error logging with date: main/main.c

From: Date: Mon, 17 Mar 2014 21:32:03 +0000
Subject: com php-src: Fixed error logging with date: main/main.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-77560@lists.php.net to get a copy of this message
Commit: 811a523c306c1c08fc892ed1e76847ca9693448e Author: Dmitry Stogov <dmitry@zend.com> Tue, 18 Mar 2014 01:32:03 +0400 Parents: dbc68b9b88b59c1cf8120d944cd9c07d71c68fea Branches: phpng Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=811a523c306c1c08fc892ed1e76847ca9693448e Log: Fixed error logging with date Changed paths: M main/main.c Diff: diff --git a/main/main.c b/main/main.c index 72092cc..0f8a029 100644 --- a/main/main.c +++ b/main/main.c @@ -641,7 +641,7 @@ PHPAPI void php_log_err(char *log_message TSRMLS_DC) #else error_time_str = php_format_date("d-M-Y H:i:s e", 13, error_time, 1 TSRMLS_CC); #endif - len = spprintf(&tmp, 0, "[%s] %s%s", error_time_str, log_message, PHP_EOL); + len = spprintf(&tmp, 0, "[%s] %s%s", error_time_str->val, log_message, PHP_EOL); #ifdef PHP_WIN32 php_flock(fd, 2); #endif

« previous php.cvs (#77560) next »