Skip to content

Commit eb7af59

Browse files
committed
strpprintf / spprintf
1 parent ecb48ea commit eb7af59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ ZEND_API zend_string *zend_vstrpprintf(size_t max_len, const char *format, va_li
273273
}
274274

275275
smart_str_0(&buf);
276-
return buf.s;
276+
return smart_str_finalize(&buf);
277277
}
278278
/* }}} */
279279

0 commit comments

Comments
 (0)