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:
authormatt335672 <30179339+matt335672@users.noreply.github.com>2022-02-09 13:18:15 +0300
committermatt335672 <30179339+matt335672@users.noreply.github.com>2022-02-09 13:18:15 +0300
commite6c098e750ec232a87a55b2cc1120fe5e1ee2312 (patch)
tree76cd0428e02cbb1537648804b1058ed17e87b53b /sesman
parenta13742f097246f5949615acc9b403d31bf2748ca (diff)
Remove s_check() macro
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;