freebsd-ports/games/ggz-txt-client/files/patch-ggz-txt::output.c
Kirill Ponomarev 974048e966 Update to version 0.0.9
PR:		ports/69295
Submitted by:	Ports Fury
2004-07-19 18:02:38 +00:00

14 lines
359 B
C

--- ggz-txt/output.c.orig Fri Jun 25 22:32:46 2004
+++ ggz-txt/output.c Sun Jul 18 20:29:22 2004
@@ -145,10 +145,10 @@
char message[1024]; /* FIXME: Make me dynamic */
int x;
char *token, *messagedup, *orig;
+ va_list ap;
if(!output_enabled) return;
- va_list ap;
va_start(ap, fmt);
vsnprintf(message, sizeof(message), fmt, ap);
va_end(ap);