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-14 12:00:21 +0300
committerGitHub <noreply@github.com>2022-02-14 12:00:21 +0300
commite1c6afa38ecf46fee4212558ccef091aec339f62 (patch)
tree76fb2cb8546dcb935f396b937fe612f64b0610c7 /sesman
parent82b1aab9bac7f05d04fcca7a1e9d81495c5b1b65 (diff)
parente6c098e750ec232a87a55b2cc1120fe5e1ee2312 (diff)
Merge pull request #2144 from matt335672/remove_s_check
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;