mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2025-12-30 17:49:02 +00:00
red-channel-client: Change gboolean -> bool
Avoid possible type conversion Signed-off-by: Frediano Ziglio <freddy77@gmail.com> Acked-by: Julien Ropé <jrope@gmail.com>
This commit is contained in:
parent
30d917ba5d
commit
8dcbc99d3f
@ -1652,13 +1652,13 @@ void RedChannelClient::pipe_remove_and_release(RedPipeItem *item)
|
||||
/* client mutex should be locked before this call */
|
||||
bool RedChannelClient::set_migration_seamless()
|
||||
{
|
||||
gboolean ret = FALSE;
|
||||
bool ret = false;
|
||||
uint32_t flags;
|
||||
|
||||
flags = priv->channel->migration_flags();
|
||||
if (flags & SPICE_MIGRATE_NEED_DATA_TRANSFER) {
|
||||
priv->wait_migrate_data = TRUE;
|
||||
ret = TRUE;
|
||||
ret = true;
|
||||
}
|
||||
red_channel_debug(priv->channel, "rcc %p wait data %d", this,
|
||||
priv->wait_migrate_data);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user