From 3af89678ecf2a9857789b4a59a5bbd2d8b703465 Mon Sep 17 00:00:00 2001 From: Sterling Hughes Date: Mon, 28 May 2001 04:40:08 +0000 Subject: [PATCH] compile goood, compile error baaad. --- ext/xslt/xslt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/xslt/xslt.c b/ext/xslt/xslt.c index 265eaa0c046..068292d820f 100644 --- a/ext/xslt/xslt.c +++ b/ext/xslt/xslt.c @@ -225,7 +225,7 @@ extern void xslt_call_function(char *name, /* Call the function */ error = call_user_function_ex(EG(function_table), NULL, function, - *retval, argc, argv, O, NULL); + retval, argc, argv, O, NULL); if (error == FAILURE) { php_error(E_WARNING, "Cannot call the %s handler: %s", name, Z_STRVAL_P(function)); @@ -234,7 +234,7 @@ extern void xslt_call_function(char *name, /* Cleanup arguments */ for (idx = 0; idx < argc; idx++) { /* Decrease refcount and free if refcount is <= 0 */ - zval_ptr_dtor(&argv[idx]); + zval_ptr_dtor(argv[idx]); } efree(argv);