From 77c1b56cd759b8fd819976a5aa7c40b5268a81f4 Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Wed, 10 May 2006 00:00:13 +0000 Subject: - Update after api changes --- sapi/cli/php_cli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sapi/cli/php_cli.c') diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c index e83a9728a1..3696a21566 100644 --- a/sapi/cli/php_cli.c +++ b/sapi/cli/php_cli.c @@ -1220,7 +1220,7 @@ int main(int argc, char *argv[]) zend_call_method_with_1_params(&ref, pce, &pce->constructor, "__construct", NULL, arg); if (EG(exception)) { - zval *msg = zend_read_property(zend_exception_get_default(), EG(exception), "message", sizeof("message")-1, 0 TSRMLS_CC); + zval *msg = zend_read_property(zend_exception_get_default(TSRMLS_C), EG(exception), "message", sizeof("message")-1, 0 TSRMLS_CC); zend_printf("Exception: %s\n", Z_STRVAL_P(msg)); zval_ptr_dtor(&EG(exception)); EG(exception) = NULL; -- cgit v1.2.1