diff options
author | Jay Sorg <jay.sorg@gmail.com> | 2012-11-10 16:43:55 -0800 |
---|---|---|
committer | Jay Sorg <jay.sorg@gmail.com> | 2012-11-10 16:43:55 -0800 |
commit | 49c4ee8c8c12e05c9895e9b59894bf57bb2bbdc9 (patch) | |
tree | 8eff7595036fe9e868e0afae869cd9b3d3546ff7 /sesman/chansrv | |
parent | d9765c0783032c1c043620d0bbc489b3a7294403 (diff) | |
parent | 0d3a2c7207e80cd2bf9a3dedb23d20b218b2e75b (diff) | |
download | xrdp-proprietary-49c4ee8c8c12e05c9895e9b59894bf57bb2bbdc9.tar.gz xrdp-proprietary-49c4ee8c8c12e05c9895e9b59894bf57bb2bbdc9.zip |
Merge branch 'master' of github.com:FreeRDP/xrdp
Diffstat (limited to 'sesman/chansrv')
-rw-r--r-- | sesman/chansrv/chansrv.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sesman/chansrv/chansrv.c b/sesman/chansrv/chansrv.c index 836a693b..8bcdb62b 100644 --- a/sesman/chansrv/chansrv.c +++ b/sesman/chansrv/chansrv.c @@ -695,7 +695,6 @@ my_api_trans_conn_in(struct trans *trans, struct trans *new_trans) int index; char chan_pri; - g_writeln("my_api_trans_conn_in:"); if ((trans == 0) || (trans != g_api_lis_trans) || (new_trans == 0)) { return 1; @@ -750,7 +749,8 @@ my_api_trans_conn_in(struct trans *trans, struct trans *new_trans) for (index = 0; index < g_num_chan_items; index++) { - LOG(10, (" %s %s", ad->header, g_chan_items[index].name)); + LOG(10, ("my_api_trans_conn_in: %s %s", ad->header, + g_chan_items[index].name)); if (g_strcasecmp(ad->header, g_chan_items[index].name) == 0) { @@ -759,6 +759,10 @@ my_api_trans_conn_in(struct trans *trans, struct trans *new_trans) break; } } + if (index == g_num_chan_items) + { + g_writeln("did not find SVC named %s", ad->header); + } } new_trans->callback_data = ad; |