Diff between a3fd6fe629f3477d4029a514b8856eca35faf038 and 867ca173d6730b8d53b384adcc83900a047d18a1
Changed Files
| File | Additions | Deletions | Status |
| gobex/gobex.c | +1 | -1 | modified |
Full Patch
diff --git a/gobex/gobex.c b/gobex/gobex.c
index 16a4aae..e7b081f 100644
--- a/gobex/gobex.c
+++ b/gobex/gobex.c
@@ -514,7 +514,7 @@ static void enable_tx(GObex *obex)
if (obex->suspended)
return;
- if (obex->write_source > 0)
+ if (!obex->io || obex->write_source > 0)
return;
cond = G_IO_OUT | G_IO_HUP | G_IO_ERR | G_IO_NVAL;