summaryrefslogtreecommitdiff
path: root/ext/phar/util.c
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2015-03-05 12:40:09 +0800
committerXinchen Hui <laruence@php.net>2015-03-05 12:40:09 +0800
commit792630bc50381457cf086340637328ecfa691af4 (patch)
treebe7d28413d9cb169d2697dd1920215b684872b16 /ext/phar/util.c
parent592b2545b24c539d237fbf546a6c2e98bf39b19f (diff)
downloadphp-git-792630bc50381457cf086340637328ecfa691af4.tar.gz
Use strpprintf
Diffstat (limited to 'ext/phar/util.c')
-rw-r--r--ext/phar/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/phar/util.c b/ext/phar/util.c
index 190f69cf61..f769b012e4 100644
--- a/ext/phar/util.c
+++ b/ext/phar/util.c
@@ -300,14 +300,14 @@ splitted:
if (*test == '/') {
if (zend_hash_str_exists(&(phar->manifest), test + 1, try_len - 1)) {
- ret = zend_strpprintf(0, "phar://%s%s", arch, test);
+ ret = strpprintf(0, "phar://%s%s", arch, test);
efree(arch);
efree(test);
return ret;
}
} else {
if (zend_hash_str_exists(&(phar->manifest), test, try_len)) {
- ret = zend_strpprintf(0, "phar://%s/%s", arch, test);
+ ret = strpprintf(0, "phar://%s/%s", arch, test);
efree(arch);
efree(test);
return ret;