[Spice-commits] src/channel-main.c

Pavel Grunt pgrunt at kemper.freedesktop.org
Wed Apr 27 13:12:27 UTC 2016


 src/channel-main.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 225fff788097b2889ededdbe9456e3d5733ea39b
Author: Pavel Grunt <pgrunt at redhat.com>
Date:   Fri Apr 22 16:47:47 2016 +0200

    channel-main: Use CHANNEL_DEBUG for migration events
    
    To show which channel got an error or an unhandled event
    Acked-by: Victor Toso <victortoso at redhat.com>

diff --git a/src/channel-main.c b/src/channel-main.c
index 604f333..3966e49 100644
--- a/src/channel-main.c
+++ b/src/channel-main.c
@@ -2286,7 +2286,7 @@ static void migrate_channel_event_cb(SpiceChannel *channel, SpiceChannelEvent ev
             coroutine_yieldto(mig->from, NULL);
         break;
     default:
-        SPICE_DEBUG("error or unhandled channel event during migration: %d", event);
+        CHANNEL_DEBUG(channel, "error or unhandled channel event during migration: %d", event);
         /* go back to main channel to report error */
         coroutine_yieldto(mig->from, NULL);
     }


More information about the Spice-commits mailing list