summaryrefslogtreecommitdiff
path: root/ext/standard/mail.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/mail.c')
-rw-r--r--ext/standard/mail.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/standard/mail.c b/ext/standard/mail.c
index ed9af20c14..735ea249a4 100644
--- a/ext/standard/mail.c
+++ b/ext/standard/mail.c
@@ -302,14 +302,14 @@ PHPAPI int php_mail(char *to, char *subject, char *message, char *headers, char
time_t curtime;
zend_string *date_str;
size_t len;
-
-
+
+
time(&curtime);
date_str = php_format_date("d-M-Y H:i:s e", 13, curtime, 1);
len = spprintf(&tmp, 0, "[%s] %s%s", date_str->val, logline, PHP_EOL);
-
+
php_mail_log_to_file(mail_log, tmp, len);
-
+
zend_string_free(date_str);
efree(tmp);
}