[Spice-commits] server/utils.c

Frediano Ziglio fziglio at kemper.freedesktop.org
Wed Nov 8 11:39:26 UTC 2017


 server/utils.c |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit ece42630550d47a3f667d903b4732597b025abed
Author: Frediano Ziglio <fziglio at redhat.com>
Date:   Wed Nov 8 08:14:34 2017 +0000

    utils: Fill in all possible channel names
    
    Missing some names cause some debugging messages to be
    generated and some of our tests to fail.
    
    This patch was written by Christophe Fergeau.
    
    Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
    Acked-by: Christophe Fergeau <cfergeau at redhat.com>

diff --git a/server/utils.c b/server/utils.c
index e25b7891..ff1fc2d1 100644
--- a/server/utils.c
+++ b/server/utils.c
@@ -58,8 +58,10 @@ static const char *const channel_names[] = {
     [ SPICE_CHANNEL_CURSOR   ] = "cursor",
     [ SPICE_CHANNEL_PLAYBACK ] = "playback",
     [ SPICE_CHANNEL_RECORD   ] = "record",
+    [ SPICE_CHANNEL_TUNNEL   ] = "tunnel",
     [ SPICE_CHANNEL_SMARTCARD] = "smartcard",
     [ SPICE_CHANNEL_USBREDIR ] = "usbredir",
+    [ SPICE_CHANNEL_PORT     ] = "port",
     [ SPICE_CHANNEL_WEBDAV   ] = "webdav",
 };
 


More information about the Spice-commits mailing list