summaryrefslogtreecommitdiffstats
path: root/libxrdp/xrdp_rdp.c
diff options
context:
space:
mode:
Diffstat (limited to 'libxrdp/xrdp_rdp.c')
-rw-r--r--libxrdp/xrdp_rdp.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/libxrdp/xrdp_rdp.c b/libxrdp/xrdp_rdp.c
index e0443a3b..4fc83ae8 100644
--- a/libxrdp/xrdp_rdp.c
+++ b/libxrdp/xrdp_rdp.c
@@ -385,15 +385,6 @@ xrdp_rdp_recv(struct xrdp_rdp *self, struct stream *s, int *code)
chan = 0;
error = xrdp_sec_recv(self->sec_layer, s, &chan);
- if (error == 3)
- {
- /* unencrypted confirm active msg arrived */
- s->next_packet = 0;
- *code = 3;
- DEBUG(("out (0) xrdp_rdp_recv"));
- return 0;
- }
-
if (error == -1) /* special code for send demand active */
{
s->next_packet = 0;