diff options
Diffstat (limited to 'ext/standard/syslog.c')
-rw-r--r-- | ext/standard/syslog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/syslog.c b/ext/standard/syslog.c index 594891ed5b..a166496d81 100644 --- a/ext/standard/syslog.c +++ b/ext/standard/syslog.c @@ -217,7 +217,7 @@ PHP_FUNCTION(openlog) if (BG(syslog_device)) { efree(BG(syslog_device)); } - BG(syslog_device) = estrndup((*ident)->value.str.val,(*ident)->value.str.len); + BG(syslog_device) = estrndup((*ident)->value.str.val, (*ident)->value.str.len); openlog(BG(syslog_device), (*option)->value.lval, (*facility)->value.lval); RETURN_TRUE; } @@ -253,7 +253,7 @@ PHP_FUNCTION(syslog) * this will cause problems. */ - php_syslog((*priority)->value.lval, "%.500s",(*message)->value.str.val); + php_syslog((*priority)->value.lval, "%.500s", (*message)->value.str.val); RETURN_TRUE; } /* }}} */ |