Increase length to include the newline character.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1163 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
parent
9319c65dbb
commit
56b4c2714a
@ -318,6 +318,8 @@ seamless_send(const char *command, const char *format, ...)
|
|||||||
buf[len] = '\n';
|
buf[len] = '\n';
|
||||||
buf[len + 1] = '\0';
|
buf[len + 1] = '\0';
|
||||||
|
|
||||||
|
len++;
|
||||||
|
|
||||||
s = channel_init(seamless_channel, len);
|
s = channel_init(seamless_channel, len);
|
||||||
out_uint8p(s, buf, len) s_mark_end(s);
|
out_uint8p(s, buf, len) s_mark_end(s);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user