summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2007-11-01 15:59:26 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2007-11-01 15:59:26 +0000
commit01ac3bd7d7da0cea8832e12bb8670ffa93f5cb9c (patch)
tree0d3301894fa3b7a2ebda74792e186296123bdccd
parentf8ce035c3e7dc1391acada3bddb2c2e678a3d217 (diff)
Ignore OOB close stanza - it doesn't make sense for OOB TCP streams that we implement internally, and that's all we currently support
-rw-r--r--lib/gibber/gibber-bytestream-oob.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/gibber/gibber-bytestream-oob.c b/lib/gibber/gibber-bytestream-oob.c
index 410dc348..57b38f80 100644
--- a/lib/gibber/gibber-bytestream-oob.c
+++ b/lib/gibber/gibber-bytestream-oob.c
@@ -296,10 +296,7 @@ parse_oob_iq_result (GibberBytestreamOOB *self,
if (id == NULL || strcmp (id, priv->stream_open_id) != 0)
return FALSE;
- DEBUG ("received OOB close stanza. Bytestream closed");
-
- g_object_set (self, "state", GIBBER_BYTESTREAM_STATE_CLOSED,
- NULL);
+ DEBUG ("received OOB close stanza - ignoring");
return TRUE;
}