diff options
Diffstat (limited to 'source4/nbt_server/wins')
-rw-r--r-- | source4/nbt_server/wins/winsclient.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/nbt_server/wins/winsclient.c b/source4/nbt_server/wins/winsclient.c index 60d2b94dec..b047b2b411 100644 --- a/source4/nbt_server/wins/winsclient.c +++ b/source4/nbt_server/wins/winsclient.c @@ -60,7 +60,7 @@ static void nbtd_wins_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), nbtd_wins_refresh, iname); @@ -194,7 +194,7 @@ static void nbtd_wins_register_handler(struct tevent_req *subreq) /* none of the WINS servers responded - try again periodically */ int wins_retry_time = lpcfg_parm_int(iname->iface->nbtsrv->task->lp_ctx, NULL, "nbtd", "wins_retry", 300); - event_add_timed(iname->iface->nbtsrv->task->event_ctx, + tevent_add_timer(iname->iface->nbtsrv->task->event_ctx, iname, timeval_current_ofs(wins_retry_time, 0), nbtd_wins_register_retry, |