- Revert accidental change

This commit is contained in:
Felipe Pena 2011-07-25 21:39:53 +00:00
parent fc83d523b8
commit 2df7afeb1c

View file

@ -1144,7 +1144,7 @@ PHP_METHOD(Phar, loadPhar)
RETVAL_BOOL(phar_open_from_filename(fname, fname_len, alias, alias_len, REPORT_ERRORS, NULL, &error TSRMLS_CC) == SUCCESS); RETVAL_BOOL(phar_open_from_filename(fname, fname_len, alias, alias_len, REPORT_ERRORS, NULL, &error TSRMLS_CC) == SUCCESS);
if (error) { if (error) {
zend_throw_exception_ex(phar_ce_PharException, 0 TSRMLS_CC, error); zend_throw_exception_ex(phar_ce_PharException, 0 TSRMLS_CC, "%s", error);
efree(error); efree(error);
} }
} /* }}} */ } /* }}} */