diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2007-02-27 03:28:17 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2007-02-27 03:28:17 +0000 |
commit | efad70c2cc2edd8416a18ea6daf06f8627d1d68d (patch) | |
tree | 0a59c0e22bb3b224433600d86b8430276ed87b45 /ext/standard/string.c | |
parent | cc04404b28d10481f63be986fe815de1fe31088b (diff) | |
download | php-git-efad70c2cc2edd8416a18ea6daf06f8627d1d68d.tar.gz |
snprintf() -> slprintf()
Diffstat (limited to 'ext/standard/string.c')
-rw-r--r-- | ext/standard/string.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/string.c b/ext/standard/string.c index c65da88087..854c3ec174 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -905,7 +905,7 @@ PHPAPI void php_implode(zval *delim, zval *arr, zval *return_value TSRMLS_DC) case IS_LONG: { char stmp[MAX_LENGTH_OF_LONG + 1]; - str_len = snprintf(stmp, sizeof(stmp), "%ld", Z_LVAL_PP(tmp)); + str_len = slprintf(stmp, sizeof(stmp), "%ld", Z_LVAL_PP(tmp)); smart_str_appendl(&implstr, stmp, str_len); } break; |