From 459a4dba56bad9dbfb529723eee063c138baccce Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Mon, 23 Jan 2012 12:58:30 +0200 Subject: [PATCH] server/red_channel: red_peer_handle_incoming: comment on null check Signed-off-by: Alon Levy --- server/red_channel.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/red_channel.c b/server/red_channel.c index d2c9e6d8..ec02018d 100644 --- a/server/red_channel.c +++ b/server/red_channel.c @@ -162,6 +162,8 @@ static void red_peer_handle_incoming(RedsStream *stream, IncomingHandler *handle uint16_t msg_type; uint32_t msg_size; + /* XXX: This needs further investigation as to the underlying cause, it happened + * after spicec disconnect (but not with spice-gtk) repeatedly. */ if (!stream) { return; }