]> granicus.if.org Git - php/commitdiff
fix error messages
authorGreg Beaver <cellog@php.net>
Thu, 12 Jun 2008 04:57:24 +0000 (04:57 +0000)
committerGreg Beaver <cellog@php.net>
Thu, 12 Jun 2008 04:57:24 +0000 (04:57 +0000)
ext/phar/func_interceptors.c

index 853cf1477d01b482b27875782eb9d5bb1d56a9b5..4813b571b42e07292e397d9d9947e7ee3f653dcb 100644 (file)
@@ -102,7 +102,7 @@ PHAR_FUNC(phar_file_get_contents) /* {{{ */
        }
        /* Parse arguments */
        if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, "s|br!ll", &filename, &filename_len, &use_include_path, &zcontext, &offset, &maxlen) == FAILURE) {
-               return;
+               goto skip_phar;
        }
        if (use_include_path || (!IS_ABSOLUTE_PATH(filename, filename_len) && !strstr(filename, "://"))) {
                char *arch, *entry, *fname;