diff --git a/ctdb/server/ctdb_ltdb_server.c b/ctdb/server/ctdb_ltdb_server.c index fe061e79c8f..a93e2fa0c95 100644 --- a/ctdb/server/ctdb_ltdb_server.c +++ b/ctdb/server/ctdb_ltdb_server.c @@ -990,7 +990,7 @@ int ctdb_process_deferred_attach(struct ctdb_context *ctdb) */ while ((da_ctx = ctdb->deferred_attach) != NULL) { DLIST_REMOVE(ctdb->deferred_attach, da_ctx); - event_add_timed(ctdb->ev, ctdb, timeval_current_ofs(1,0), ctdb_deferred_attach_callback, da_ctx); + event_add_timed(ctdb->ev, da_ctx, timeval_current_ofs(1,0), ctdb_deferred_attach_callback, da_ctx); } return 0;