diff options
author | 王星星 <xingxingwang@anjuke.com> | 2015-04-12 20:59:11 +0800 |
---|---|---|
committer | 王星星 <xingxingwang@anjuke.com> | 2015-04-12 20:59:11 +0800 |
commit | 73a0c96ac3369e301e69c1cf65c1c77d0ad22837 (patch) | |
tree | 4b34d58d30771d85e48578f289fd3de2da51e315 | |
parent | 22bef96315fb2616745aeae0bede5167b011df33 (diff) | |
download | php-git-73a0c96ac3369e301e69c1cf65c1c77d0ad22837.tar.gz |
modify skeleton confirm_extname_compiled
-rw-r--r-- | ext/skeleton/skeleton.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/skeleton/skeleton.c b/ext/skeleton/skeleton.c index 6ff69a569b..1fe049c533 100644 --- a/ext/skeleton/skeleton.c +++ b/ext/skeleton/skeleton.c @@ -43,10 +43,9 @@ PHP_FUNCTION(confirm_extname_compiled) return; } - len = spprintf(&strg, 0, "Congratulations! You have successfully modified ext/%.78s/config.m4. Module %.78s is now compiled into PHP.", "extname", arg); + strg = strpprintf(0, "Congratulations! You have successfully modified ext/%.78s/config.m4. Module %.78s is now compiled into PHP.", "extname", arg); - RETVAL_STRING(strg, len); - efree(strg); + RETURN_STR(strg); } /* }}} */ /* The previous line is meant for vim and emacs, so it can correctly fold and |