diff options
author | ArvidNorr <norrarvid@gmail.com> | 2013-01-31 11:22:43 -0800 |
---|---|---|
committer | ArvidNorr <norrarvid@gmail.com> | 2013-01-31 11:22:43 -0800 |
commit | 72c99794ee6d2811ba9c85d76e1f30f2309ac7d8 (patch) | |
tree | a76dc3599dea4ecc8d4a7a6369ab3b0873547dc1 /libxrdp/xrdp_mcs.c | |
parent | 9aa0cb4e61eeb253a9a1177f1162eb5289130e96 (diff) | |
parent | fb7294ed26d28b12d8da5cf5f41f5975f1999f04 (diff) | |
download | xrdp-proprietary-72c99794ee6d2811ba9c85d76e1f30f2309ac7d8.tar.gz xrdp-proprietary-72c99794ee6d2811ba9c85d76e1f30f2309ac7d8.zip |
Merge pull request #59 from ArvidNorr/morelogging
More logging for debug and trace.
Diffstat (limited to 'libxrdp/xrdp_mcs.c')
-rw-r--r-- | libxrdp/xrdp_mcs.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libxrdp/xrdp_mcs.c b/libxrdp/xrdp_mcs.c index e5481c9c..dbcb0955 100644 --- a/libxrdp/xrdp_mcs.c +++ b/libxrdp/xrdp_mcs.c @@ -19,6 +19,7 @@ */ #include "libxrdp.h" +#include "log.h" /*****************************************************************************/ struct xrdp_mcs *APP_CC @@ -146,12 +147,12 @@ xrdp_mcs_recv(struct xrdp_mcs *self, struct stream *s, int *chan) { in_uint16_be(s, userid); in_uint16_be(s, chanid); - g_writeln("channel join request received %d:%d", userid, chanid); + log_message(LOG_LEVEL_DEBUG,"MCS_CJRQ - channel join request received"); DEBUG(("xrdp_mcs_recv adding channel %4.4x", chanid)); if (xrdp_mcs_send_cjcf(self, userid, chanid) != 0) { - g_writeln("Non handled error from xrdp_mcs_send_cjcf") ; + log_message(LOG_LEVEL_ERROR,"Non handled error from xrdp_mcs_send_cjcf") ; } continue; @@ -163,7 +164,7 @@ xrdp_mcs_recv(struct xrdp_mcs *self, struct stream *s, int *chan) } else { - g_writeln("Recieved an unhandled appid:%d", appid); + log_message(LOG_LEVEL_DEBUG,"Recieved an unhandled appid:%d",appid); } break; |