s4-repl: end repl request when not doing an UpdateRefs
authorAndrew Tridgell <tridge@samba.org>
Mon, 26 Apr 2010 11:48:06 +0000 (21:48 +1000)
committerAndrew Tridgell <tridge@samba.org>
Tue, 27 Apr 2010 00:38:58 +0000 (10:38 +1000)
otherwise the queue is stuck forever

source4/dsdb/repl/drepl_out_helpers.c

index 52b519c924afad3d03d19e79dda72a4c464b9552..56e12579876892a12263e50e1e1f910aa981037d 100644 (file)
@@ -530,6 +530,8 @@ static void dreplsrv_op_pull_source_apply_changes_trigger(struct tevent_req *req
        */
        if (state->op->extended_op == DRSUAPI_EXOP_NONE) {
                dreplsrv_update_refs_trigger(req);
+       } else {
+               tevent_req_done(req);
        }
 }