51 |
|
|
52 |
#include "forms.h" |
#include "forms.h" |
53 |
#include "flinternal.h" |
#include "flinternal.h" |
54 |
|
#include "private/flsnprintf.h" |
55 |
#include "ulib.h" |
#include "ulib.h" |
56 |
extern int errno; /* system error no */ |
extern int errno; /* system error no */ |
57 |
|
|
182 |
if (fmt && *fmt) |
if (fmt && *fmt) |
183 |
{ |
{ |
184 |
va_start(args, fmt); |
va_start(args, fmt); |
185 |
#ifdef HAVE_SNPRINTF |
fl_vsnprintf(emsg, sizeof(emsg)-5, fmt, args); |
|
(void) fl_vsnprintf(emsg, sizeof(emsg)-5, fmt, args); |
|
|
#else |
|
|
(void) vsprintf(emsg, fmt, args); |
|
|
#endif |
|
186 |
va_end(args); |
va_end(args); |
187 |
} |
} |
188 |
|
|