summaryrefslogtreecommitdiffstats
path: root/src/core/xfer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/xfer.c')
-rw-r--r--src/core/xfer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/xfer.c b/src/core/xfer.c
index 068958711..3add057b9 100644
--- a/src/core/xfer.c
+++ b/src/core/xfer.c
@@ -38,8 +38,8 @@ void xfer_close ( struct xfer_interface *xfer, int rc ) {
DBGC ( xfer, "XFER %p->%p close\n", xfer, dest );
- dest->op->close ( dest, rc );
xfer_unplug ( xfer );
+ dest->op->close ( dest, rc );
xfer_put ( dest );
}