CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
dillo: fixed AR usage and added ssl support (https)
[attic/ports/opt-cross.git] / gtmess / gtmess-0.96_valist.patch
1 diff -pruN gtmess-0.96orig//src/client/screen.c gtmess-0.96//src/client/screen.c
2 --- gtmess-0.96orig//src/client/screen.c 2010-05-26 13:46:47.000000000 +0000
3 +++ gtmess-0.96//src/client/screen.c 2010-05-26 14:02:51.000000000 +0000
4 @@ -255,7 +255,7 @@ void msg(int attr, const char *fmt, ...)
5 va_start(ap, fmt);
6 r = vmsg(attr, SML, fmt, ap);
7 va_end(ap);
8 - if (r) vmsg(C_ERR, SML, "msg(): output truncated\n", NULL);
9 + if (r) vmsg(C_ERR, SML, "msg(): output truncated\n", ap);
10 }
11
12 void msgn(int attr, int size, const char *fmt, ...)
13 @@ -266,7 +266,7 @@ void msgn(int attr, int size, const char
14 va_start(ap, fmt);
15 r = vmsg(attr, size, fmt, ap);
16 va_end(ap);
17 - if (r) vmsg(C_ERR, SML, "msgn(): output truncated\n", NULL);
18 + if (r) vmsg(C_ERR, SML, "msgn(): output truncated\n", ap);
19 }
20
21 int screen_shut()