summaryrefslogtreecommitdiffstats
path: root/xrdp
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2017-02-11 23:18:36 -0800
committerjsorg71 <jay.sorg@gmail.com>2017-02-22 20:57:33 -0800
commit8c0dcbbd4ff7d02ad20b9982bfb82750c5480410 (patch)
tree0228df21d520fd7039c252024e43d0d57649a30c /xrdp
parent815b9b8bb840ba02b0bf29e20264dbb96ceeba4a (diff)
downloadxrdp-proprietary-8c0dcbbd4ff7d02ad20b9982bfb82750c5480410.tar.gz
xrdp-proprietary-8c0dcbbd4ff7d02ad20b9982bfb82750c5480410.zip
fix for frames in flight = 0
Diffstat (limited to 'xrdp')
-rw-r--r--xrdp/xrdp_mm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xrdp/xrdp_mm.c b/xrdp/xrdp_mm.c
index 260dea54..7fcb0120 100644
--- a/xrdp/xrdp_mm.c
+++ b/xrdp/xrdp_mm.c
@@ -2325,7 +2325,7 @@ xrdp_mm_frame_ack(struct xrdp_mm *self, int frame_id)
}
ex = self->wm->client_info->max_unacknowledged_frame_count;
/* make sure we won't have too many in-flight frames */
- if (self->encoder->frame_id_client + ex > self->encoder->frame_id_server)
+ if (self->encoder->frame_id_client + ex >= self->encoder->frame_id_server)
{
if (self->encoder->frame_id_server > self->encoder->frame_id_server_sent)
{