summaryrefslogtreecommitdiffstats
path: root/server/red_channel.c
diff options
context:
space:
mode:
Diffstat (limited to 'server/red_channel.c')
-rw-r--r--server/red_channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/red_channel.c b/server/red_channel.c
index 5b8027cb..2cd98daa 100644
--- a/server/red_channel.c
+++ b/server/red_channel.c
@@ -329,7 +329,7 @@ static void red_channel_client_peer_prepare_out_msg(
RedChannelClient *rcc = (RedChannelClient *)opaque;
*vec_size = spice_marshaller_fill_iovec(rcc->send_data.marshaller,
- vec, MAX_SEND_VEC, pos);
+ vec, IOV_MAX, pos);
}
static void red_channel_client_peer_on_out_block(void *opaque)