s4:misc: remove last usage of legacy event_ fn names
[idra/samba.git] / source4 / nbt_server / register.c
index b166d46b7f9731c24f7b5a978b2fd152c4b59af9..fb2f9913c5143823c91fadc656dc159d45058ad4 100644 (file)
@@ -122,7 +122,7 @@ static void nbtd_start_refresh_timer(struct nbtd_iface_name *iname)
 
        refresh_time = MIN(max_refresh_time, iname->ttl/2);
        
-       event_add_timed(iname->iface->nbtsrv->task->event_ctx, 
+       tevent_add_timer(iname->iface->nbtsrv->task->event_ctx,
                        iname, 
                        timeval_add(&iname->registration_time, refresh_time, 0),
                        name_refresh_handler, iname);