]> granicus.if.org Git - php/commitdiff
MAPPHAR_ALLOC_FILE slipped in there somehow
authorGreg Beaver <cellog@php.net>
Thu, 10 Jan 2008 22:05:30 +0000 (22:05 +0000)
committerGreg Beaver <cellog@php.net>
Thu, 10 Jan 2008 22:05:30 +0000 (22:05 +0000)
ext/phar/phar.c

index 4d5756013dedd24c022353411e9452f272cddd28..b62547a50770b95490b49c0f04d3a35c4a1d0040 100644 (file)
@@ -1716,7 +1716,7 @@ static int phar_open_fp(php_stream* fp, char *fname, int fname_len, char *alias,
                                php_stream *temp;
 
                                if (!phar_has_bz2) {
-                                       MAPPHAR_ALLOC_FILE("unable to decompress bzipped phar archive \"%s\" to temporary file, enable bzip2 extension in php.ini")
+                                       MAPPHAR_ALLOC_FAIL("unable to decompress bzipped phar archive \"%s\" to temporary file, enable bzip2 extension in php.ini")
                                }
                                /* entire file is bzip-compressed, uncompress to temporary file */
                                if (!(temp = php_stream_fopen_tmpfile())) {