From 1a3e0f04871c2c396568d2e7272c93dc0bba7af0 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Tue, 12 Nov 2002 14:18:25 +0000 Subject: [PATCH] Fixed compile error. --- ext/ming/ming.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ext/ming/ming.c b/ext/ming/ming.c index 0fe88bec3d..3ea778420c 100644 --- a/ext/ming/ming.c +++ b/ext/ming/ming.c @@ -2707,13 +2707,14 @@ PHP_MINFO_FUNCTION(ming) /* {{{ todo PHP_MINIT_FUNCTION(ming) */ + /* custom error handler propagates ming errors up to php */ static void php_ming_error(char *msg, ...) { - TSRMLS_FETCH(); - va_list args; char *buffer; + + TSRMLS_FETCH(); va_start(args, msg); vspprintf(&buffer, 0, msg, args); -- 2.50.1