summaryrefslogtreecommitdiff
path: root/source4/nbt_server/wins
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2010-05-25 15:29:14 -0400
committerSimo Sorce <idra@samba.org>2011-08-14 00:38:13 +0200
commitc84caabf8c5061af75d9e046813c1e2e8eff3722 (patch)
tree8a3d17fba989ad958f6ca0bf5d0102f7f5d04f0a /source4/nbt_server/wins
parent15efcbaa09472b306a875178ee535a06d1b01811 (diff)
downloadsamba-c84caabf8c5061af75d9e046813c1e2e8eff3722.tar.gz
samba-c84caabf8c5061af75d9e046813c1e2e8eff3722.tar.bz2
samba-c84caabf8c5061af75d9e046813c1e2e8eff3722.zip
s4:misc: remove last usage of legacy event_ fn names
Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Sun Aug 14 00:38:13 CEST 2011 on sn-devel-104
Diffstat (limited to 'source4/nbt_server/wins')
-rw-r--r--source4/nbt_server/wins/winsclient.c4
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,