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:
Pierre Ossman 2006-03-20 12:00:09 +00:00
parent 9319c65dbb
commit 56b4c2714a

View File

@ -318,6 +318,8 @@ seamless_send(const char *command, const char *format, ...)
buf[len] = '\n';
buf[len + 1] = '\0';
len++;
s = channel_init(seamless_channel, len);
out_uint8p(s, buf, len) s_mark_end(s);