From: Ilia Alshanetsky Date: Tue, 12 Nov 2002 14:18:25 +0000 (+0000) Subject: Fixed compile error. X-Git-Tag: php-4.3.0RC1~82 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1a3e0f04871c2c396568d2e7272c93dc0bba7af0;p=php Fixed compile error. --- 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);