diff options
author | Jay Sorg <jay.sorg@gmail.com> | 2013-07-12 12:22:48 -0700 |
---|---|---|
committer | Jim Grandy <jgrandy@authentic8.com> | 2013-08-22 12:55:31 -0700 |
commit | 2c70a0e1f894b26c3aa40fcb160807088630bec9 (patch) | |
tree | c89288b3a0771803972e29d62804bffae0df0e4c /xup | |
parent | 8055745cebd25a8ac21e715bc9eb20ae01d36a23 (diff) | |
download | xrdp-proprietary-2c70a0e1f894b26c3aa40fcb160807088630bec9.tar.gz xrdp-proprietary-2c70a0e1f894b26c3aa40fcb160807088630bec9.zip |
part of merge, no logic change, add -g to Makefile and LLOGLN to xup.c
Diffstat (limited to 'xup')
-rw-r--r-- | xup/xup.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -20,6 +20,12 @@ #include "xup.h" +#define LOG_LEVEL 1 +#define LLOG(_level, _args) \ + do { if (_level < LOG_LEVEL) { g_write _args ; } } while (0) +#define LLOGLN(_level, _args) \ + do { if (_level < LOG_LEVEL) { g_writeln _args ; } } while (0) + /******************************************************************************/ /* returns error */ int DEFAULT_CC |