summaryrefslogtreecommitdiff
path: root/ext/phar/util.c
diff options
context:
space:
mode:
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;