Diff between bff8882e6c4cb07def45148fb2a364d85a593994 and 1d01254ca1f9d14b6575ad081f02d4c963545252
Changed Files
| File | Additions | Deletions | Status |
| obexd/gwobex/obex-priv.c | +2 | -2 | modified |
Full Patch
diff --git a/obexd/gwobex/obex-priv.c b/obexd/gwobex/obex-priv.c
index 792cb4f..8a4e22e 100644
--- a/obexd/gwobex/obex-priv.c
+++ b/obexd/gwobex/obex-priv.c
@@ -637,10 +637,10 @@ gboolean gw_obex_cb(GIOChannel *chan, GIOCondition cond, gpointer data) {
debug("gw_obex_cb: error or connection closed\n");
obex_link_error(ctx);
GW_OBEX_UNLOCK(ctx);
- if (ctx->xfer && ctx->xfer->cb)
- ctx->xfer->cb(ctx->xfer, ctx->xfer->cb_data);
if (ctx->dc_cb)
ctx->dc_cb(ctx, ctx->dc_data);
+ if (ctx->xfer && ctx->xfer->cb)
+ ctx->xfer->cb(ctx->xfer, ctx->xfer->cb_data);
return FALSE;
}