Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/neutrinolabs/xrdp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/sesman
diff options
context:
space:
mode:
authorbin zhong <zhongbin757@foxmail.com>2022-02-15 04:52:28 +0300
committerGitHub <noreply@github.com>2022-02-15 04:52:28 +0300
commitf8f18e27c53f3fd7423843ac94c5be1be8169d6a (patch)
tree93a19c9fdcc8ab56538d7ed52e86f534997b69bc /sesman
parentff39ce719e966ecd2b104e1c3cc87a2f34f6a928 (diff)
parent371c0dc8738e9a3246863354d7e773e0e8e5818f (diff)
Merge branch 'neutrinolabs:devel' into devel
Diffstat (limited to 'sesman')
-rw-r--r--sesman/chansrv/clipboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sesman/chansrv/clipboard.c b/sesman/chansrv/clipboard.c
index e2a716ef..d5422483 100644
--- a/sesman/chansrv/clipboard.c
+++ b/sesman/chansrv/clipboard.c
@@ -1334,7 +1334,7 @@ clipboard_process_data_response(struct stream *s, int clip_msg_status,
return 0;
}
index = 0;
- while (s_check(s))
+ while (s_check_rem(s, 2))
{
in_uint16_le(s, wchr);
wtext[index] = wchr;