Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx> --- server/reds.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/server/reds.c b/server/reds.c index 67ba900..f8cf1d0 100644 --- a/server/reds.c +++ b/server/reds.c @@ -4053,17 +4053,17 @@ SPICE_GNUC_VISIBLE int spice_server_set_agent_file_xfer(SpiceServer *reds, int e return 0; } -/* returns FALSE if info is invalid */ -static int reds_set_migration_dest_info(RedsState *reds, - const char* dest, - int port, int secure_port, - const char* cert_subject) +/* returns false if info is invalid */ +static bool reds_set_migration_dest_info(RedsState *reds, + const char* dest, + int port, int secure_port, + const char* cert_subject) { RedsMigSpice *spice_migration = NULL; reds_mig_release(reds->config); if ((port == -1 && secure_port == -1) || !dest) { - return FALSE; + return false; } spice_migration = spice_new0(RedsMigSpice, 1); @@ -4076,7 +4076,7 @@ static int reds_set_migration_dest_info(RedsState *reds, reds->config->mig_spice = spice_migration; - return TRUE; + return true; } /* semi-seamless client migration */ -- 2.9.4 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel