summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2006-01-06 17:32:34 +0000
committerMarcus Boerger <helly@php.net>2006-01-06 17:32:34 +0000
commit2490f087b4b2a4c1a81a9c61f6f9f5f30e568069 (patch)
tree38a7760213ef70cbeeafccee1917c23ce81f557c
parent685fa28235f59650e4527ba698299460e3955b4e (diff)
downloadphp-git-2490f087b4b2a4c1a81a9c61f6f9f5f30e568069.tar.gz
- Fix typo and change to sizeof usage
-rw-r--r--ext/phar/phar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/phar/phar.c b/ext/phar/phar.c
index 102817f17b..98aa17ecde 100644
--- a/ext/phar/phar.c
+++ b/ext/phar/phar.c
@@ -142,7 +142,7 @@ static phar_internal_file_data *phar_get_filedata(char *alias, char *path TSRMLS
* Returns the api version */
PHP_METHOD(Phar, apiVersion)
{
- RETURN_STRING("0.7.1", 3);
+ RETURN_STRINGL("0.7.1", sizeof("0.7.1")-1, 1);
}
/* }}}*/