cvs: php4 /ext/ming ming.c
| From: | Ilia Alshanetsky | Date: | Tue, 12 Nov 2002 14:18:24 +0000 |
| Subject: | cvs: php4 /ext/ming ming.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-16025@lists.php.net to get a copy of this message | ||
iliaa Tue Nov 12 09:18:24 2002 EDT
Modified files:
/php4/ext/ming ming.c
Log:
Fixed compile error.
Index: php4/ext/ming/ming.c
diff -u php4/ext/ming/ming.c:1.39 php4/ext/ming/ming.c:1.40
--- php4/ext/ming/ming.c:1.39 Tue Nov 12 08:16:12 2002
+++ php4/ext/ming/ming.c Tue Nov 12 09:18:24 2002
@@ -2707,13 +2707,14 @@
/* {{{ 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);