diff options
author | jsorg71 <jsorg71> | 2008-12-16 02:18:36 +0000 |
---|---|---|
committer | jsorg71 <jsorg71> | 2008-12-16 02:18:36 +0000 |
commit | 8090df64a5a74e899d5494570e33b7391dc45a3c (patch) | |
tree | a2ef87a3a3ee930473c2f2eb37f613659e4c1252 /libxrdp/libxrdp.c | |
parent | 9317386e74c10362a4b95b250dcd8d353a3fca5f (diff) | |
download | xrdp-proprietary-8090df64a5a74e899d5494570e33b7391dc45a3c.tar.gz xrdp-proprietary-8090df64a5a74e899d5494570e33b7391dc45a3c.zip |
channel changes
Diffstat (limited to 'libxrdp/libxrdp.c')
-rw-r--r-- | libxrdp/libxrdp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libxrdp/libxrdp.c b/libxrdp/libxrdp.c index d46b0a08..2517c245 100644 --- a/libxrdp/libxrdp.c +++ b/libxrdp/libxrdp.c @@ -687,7 +687,8 @@ libxrdp_get_channel_id(struct xrdp_session* session, char* name) /*****************************************************************************/ int EXPORT_CC libxrdp_send_to_channel(struct xrdp_session* session, int channel_id, - char* data, int data_len) + char* data, int data_len, + int total_data_len, int flags) { struct xrdp_rdp* rdp; struct xrdp_sec* sec; @@ -704,11 +705,10 @@ libxrdp_send_to_channel(struct xrdp_session* session, int channel_id, free_stream(s); return 1; } - /* here we make a copy of the data, xrdp_channel_send is - going to alter it if its bigger that 8192 or something */ + /* here we make a copy of the data */ out_uint8a(s, data, data_len); s_mark_end(s); - if (xrdp_channel_send(chan, s, channel_id) != 0) + if (xrdp_channel_send(chan, s, channel_id, total_data_len, flags) != 0) { free_stream(s); return 1; |