[Spice-devel] [PATCH 14/23] server/red_channel: add empty handle of SPICE_MSGC_DISCONNECTING

Alon Levy alevy at redhat.com
Mon Feb 7 09:31:16 PST 2011


Simply ignored in red_channel_handle_message
---
 server/red_channel.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/server/red_channel.c b/server/red_channel.c
index b582cd4..20f62ed 100644
--- a/server/red_channel.c
+++ b/server/red_channel.c
@@ -408,6 +408,8 @@ int red_channel_handle_message(RedChannel *channel, uint32_t size,
             red_channel_push(channel);
         }
         break;
+    case SPICE_MSGC_DISCONNECTING:
+        break;
     default:
         red_printf("invalid message type %u", type);
         return FALSE;
-- 
1.7.4



More information about the Spice-devel mailing list