version 1.82.8.2, 2016/03/13 11:49:14 |
version 1.83, 2015/01/12 14:17:08 |
Line 337 extern struct option optiontab[]; |
|
Line 337 extern struct option optiontab[]; |
|
#endif |
#endif |
|
|
#ifdef NO_DEBUG |
#ifdef NO_DEBUG |
#define DPRINTF(...) (void)0 |
#define DPRINTF(...) |
#define DWARN(...) (void)0 |
#define DWARN(...) |
#else |
#else |
#define DWFTP(a) do a; while (/*CONSTCOND*/0) |
#define DPRINTF(...) if (ftp_debug) (void)fprintf(ttyout, __VA_ARGS__) |
#define DPRINTF(...) DWFTP(if (ftp_debug) (void)fprintf(ttyout, __VA_ARGS__)) |
#define DWARN(...) if (ftp_debug) warn(__VA_ARGS__) |
#define DWARN(...) DWFTP(if (ftp_debug) warn(__VA_ARGS__)) |
|
#endif |
#endif |
|
|
#define STRorNULL(s) ((s) ? (s) : "<null>") |
#define STRorNULL(s) ((s) ? (s) : "<null>") |