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

Alon Levy alevy at redhat.com
Wed Jan 19 10:08:00 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 0492282..19f69b2 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.3.4



More information about the Spice-devel mailing list