diff options
author | Dmitry Stogov <dmitry@zend.com> | 2014-03-18 01:32:03 +0400 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2014-03-18 01:32:03 +0400 |
commit | 811a523c306c1c08fc892ed1e76847ca9693448e (patch) | |
tree | 294ebfc1f96071f4dce8f5516ffac6451bee49f0 | |
parent | dbc68b9b88b59c1cf8120d944cd9c07d71c68fea (diff) | |
download | php-git-811a523c306c1c08fc892ed1e76847ca9693448e.tar.gz |
Fixed error logging with date
-rw-r--r-- | main/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/main.c b/main/main.c index 72092cca64..0f8a029b51 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 |