s4:misc: remove last usage of legacy event_ fn names
[idra/samba.git] / source4 / rpc_server / echo / rpc_echo.c
index 0b10bd3663554b6b7dd60b5d311d2b4f2a51fefe..4863c779f4c19fa69eaa196d40252078363d94c6 100644 (file)
@@ -192,7 +192,7 @@ static long dcesrv_echo_TestSleep(struct dcesrv_call_state *dce_call, TALLOC_CTX
        p->dce_call     = dce_call;
        p->r            = r;
 
-       event_add_timed(dce_call->event_ctx, p, 
+       tevent_add_timer(dce_call->event_ctx, p,
                        timeval_add(&dce_call->time, r->in.seconds, 0),
                        echo_TestSleep_handler, p);