summaryrefslogtreecommitdiffstats
path: root/server/red_channel.c
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2012-01-23 12:58:30 +0200
committerAlon Levy <alevy@redhat.com>2012-01-23 12:58:30 +0200
commit459a4dba56bad9dbfb529723eee063c138baccce (patch)
treecf583193c2fb9dc55f7b286c0f78652b0ff977f5 /server/red_channel.c
parent51d7598a2e589e88a818c0e1973baf12143e4263 (diff)
downloadspice-459a4dba56bad9dbfb529723eee063c138baccce.tar.gz
spice-459a4dba56bad9dbfb529723eee063c138baccce.tar.xz
spice-459a4dba56bad9dbfb529723eee063c138baccce.zip
server/red_channel: red_peer_handle_incoming: comment on null check
Signed-off-by: Alon Levy <alevy@redhat.com>
Diffstat (limited to 'server/red_channel.c')
-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 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;
}