diff options
author | Yonit Halperin <yhalperi@redhat.com> | 2012-08-06 21:58:39 +0300 |
---|---|---|
committer | Yonit Halperin <yhalperi@redhat.com> | 2012-08-27 09:13:12 +0300 |
commit | e142bd9a611ce5980b29e8084b7d154013a16686 (patch) | |
tree | adf74e9ecfd34e53000e01259d4e49fa8fc503d2 | |
parent | 26027036c05cac96e2648ee146d63ba83af2d35e (diff) | |
download | spice-e142bd9a611ce5980b29e8084b7d154013a16686.tar.gz spice-e142bd9a611ce5980b29e8084b7d154013a16686.tar.xz spice-e142bd9a611ce5980b29e8084b7d154013a16686.zip |
red_channel: set send_data.last_sent_serial in red_channel_client_set_message_serial
red_channel_client_set_message_serial is called for setting
the serial of the display channel messages after migration (on the
destination side). The serial is retrieved from the migration data.
-rw-r--r-- | server/red_channel.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/red_channel.c b/server/red_channel.c index 97a26d12..c720b70c 100644 --- a/server/red_channel.c +++ b/server/red_channel.c @@ -1269,6 +1269,7 @@ uint64_t red_channel_client_get_message_serial(RedChannelClient *rcc) void red_channel_client_set_message_serial(RedChannelClient *rcc, uint64_t serial) { + rcc->send_data.last_sent_serial = serial; rcc->send_data.serial = serial; } |