summaryrefslogtreecommitdiffstats
path: root/libxrdp
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2006-03-13 00:32:10 +0000
committerjsorg71 <jsorg71>2006-03-13 00:32:10 +0000
commitb54d94ee2fc8eff614500bec31d3baebd27d5d7a (patch)
tree76e217305bb8df1378fa448762138ba06e08f74e /libxrdp
parent4a04e6968a7edea3d099c8699e9619407c7d9302 (diff)
downloadxrdp-proprietary-b54d94ee2fc8eff614500bec31d3baebd27d5d7a.tar.gz
xrdp-proprietary-b54d94ee2fc8eff614500bec31d3baebd27d5d7a.zip
added some debug messages
Diffstat (limited to 'libxrdp')
-rw-r--r--libxrdp/xrdp_sec.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/libxrdp/xrdp_sec.c b/libxrdp/xrdp_sec.c
index 09132be2..49088204 100644
--- a/libxrdp/xrdp_sec.c
+++ b/libxrdp/xrdp_sec.c
@@ -565,30 +565,36 @@ xrdp_sec_recv(struct xrdp_sec* self, struct stream* s, int* chan)
self->pub_mod, self->pri_exp);
xrdp_sec_establish_keys(self);
*chan = 1; /* just set a non existing channel and exit */
+ DEBUG((" out xrdp_sec_recv\r\n"));
return 0;
}
if (flags & SEC_LOGON_INFO) /* 0x40 */
{
if (xrdp_sec_process_logon_info(self, s) != 0)
{
+ DEBUG((" out xrdp_sec_recv error\r\n"));
return 1;
}
if (xrdp_sec_send_lic_initial(self) != 0)
{
+ DEBUG((" out xrdp_sec_recv error\r\n"));
return 1;
}
*chan = 1; /* just set a non existing channel and exit */
+ DEBUG((" out xrdp_sec_recv\r\n"));
return 0;
}
if (flags & SEC_LICENCE_NEG) /* 0x80 */
{
if (xrdp_sec_send_lic_response(self) != 0)
{
+ DEBUG((" out xrdp_sec_recv error\r\n"));
return 1;
}
+ DEBUG((" out xrdp_sec_recv\r\n"));
return -1; /* special error that means send demand active */
}
- DEBUG((" out xrdp_sec_recv error\r\n"));
+ DEBUG((" out xrdp_sec_recv\r\n"));
return 0;
}