diff options
author | jsorg71 <jsorg71> | 2009-08-27 02:15:49 +0000 |
---|---|---|
committer | jsorg71 <jsorg71> | 2009-08-27 02:15:49 +0000 |
commit | 23068b5fa12b6b3fa9a0694f6146c4775338d598 (patch) | |
tree | 634b25ec8864363dabd6c174775de3f7d9978548 /sesman/chansrv/chansrv.h | |
parent | acd9f3d82de55e9b57428c29abab397355a65e96 (diff) | |
download | xrdp-proprietary-23068b5fa12b6b3fa9a0694f6146c4775338d598.tar.gz xrdp-proprietary-23068b5fa12b6b3fa9a0694f6146c4775338d598.zip |
work on clipboard
Diffstat (limited to 'sesman/chansrv/chansrv.h')
-rw-r--r-- | sesman/chansrv/chansrv.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sesman/chansrv/chansrv.h b/sesman/chansrv/chansrv.h index 327f6228..4ab4f1ae 100644 --- a/sesman/chansrv/chansrv.h +++ b/sesman/chansrv/chansrv.h @@ -15,4 +15,15 @@ struct chan_item int APP_CC send_channel_data(int chan_id, char* data, int size); +#define LOG_LEVEL 10 + +#define LOG(_a, _params) \ +{ \ + if (_a < LOG_LEVEL) \ + { \ + g_write("xrdp-chansrv [%10.10d]: ", g_time3()); \ + g_writeln _params ; \ + } \ +} + #endif |