diff options
Diffstat (limited to 'main/snprintf.c')
-rw-r--r-- | main/snprintf.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/main/snprintf.c b/main/snprintf.c index 7e4d8a11ab..b9867ebcee 100644 --- a/main/snprintf.c +++ b/main/snprintf.c @@ -796,9 +796,8 @@ static int format_converter(register buffy * odp, const char *fmt, va_list ap) / */ switch (*fmt) { case 'Z': { - TSRMLS_FETCH(); - zvp = (zval*) va_arg(ap, zval*); - free_zcopy = zend_make_printable_zval(zvp, &zcopy TSRMLS_CC); + zvp = (zval*) va_arg(ap, zval*); + free_zcopy = zend_make_printable_zval(zvp, &zcopy); if (free_zcopy) { zvp = &zcopy; } |