[PATCH spice-server] utils: Fill in all possible channel names

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
 server/utils.c | 2 ++
 1 file changed, 2 insertions(+)

Tested with Gitlab, see https://gitlab.com/freddy77/spice/-/jobs/39471945

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",
 };
 
-- 
2.13.6

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]