diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2002-11-12 14:18:25 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2002-11-12 14:18:25 +0000 |
commit | 1a3e0f04871c2c396568d2e7272c93dc0bba7af0 (patch) | |
tree | 17fb00fe9e5ce845ff120ba720f9e0a5c5769353 /ext/ming | |
parent | c53e21ef05ccacab5ab032eac21698b850607a74 (diff) | |
download | php-git-1a3e0f04871c2c396568d2e7272c93dc0bba7af0.tar.gz |
Fixed compile error.
Diffstat (limited to 'ext/ming')
-rw-r--r-- | ext/ming/ming.c | 5 |
1 files 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); |