]> granicus.if.org Git - php/commitdiff
Fixed compile error.
authorIlia Alshanetsky <iliaa@php.net>
Tue, 12 Nov 2002 14:18:25 +0000 (14:18 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Tue, 12 Nov 2002 14:18:25 +0000 (14:18 +0000)
ext/ming/ming.c

index 0fe88bec3d7974dc30cbde9c4ff6c65b51fe47f6..3ea778420c0de84ef7a1c73453f330542d76d539 100644 (file)
@@ -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);