summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2010-11-07 13:13:27 +0200
committerAlon Levy <alevy@redhat.com>2011-02-07 19:22:44 +0200
commita5afee2842ba172927cd1127d69c27236e2f1075 (patch)
tree80c975ba52d060e13c8310c7a48bd4ef6e0d6f68 /server
parent74d74054934f3255e6bbacac58b7d55df6f9ae7f (diff)
downloadspice-a5afee2842ba172927cd1127d69c27236e2f1075.tar.gz
spice-a5afee2842ba172927cd1127d69c27236e2f1075.tar.xz
spice-a5afee2842ba172927cd1127d69c27236e2f1075.zip
server/red_channel: add empty handle of SPICE_MSGC_DISCONNECTING
Simply ignored in red_channel_handle_message
Diffstat (limited to 'server')
-rw-r--r--server/red_channel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/red_channel.c b/server/red_channel.c
index b582cd45..20f62ed9 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;