From c8dda78e35294ad56f088c86201430442df2efce Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 18 Feb 2013 09:08:19 +0100 Subject: s3:libsmb: make use of samba_tevent_context_init() Signed-off-by: Stefan Metzmacher Reviewed-by: Michael Adam --- source3/libsmb/namequery.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source3/libsmb/namequery.c') diff --git a/source3/libsmb/namequery.c b/source3/libsmb/namequery.c index b62b52bc70..4202564121 100644 --- a/source3/libsmb/namequery.c +++ b/source3/libsmb/namequery.c @@ -867,7 +867,7 @@ NTSTATUS node_status_query(TALLOC_CTX *mem_ctx, struct nmb_name *name, struct tevent_req *req; NTSTATUS status = NT_STATUS_NO_MEMORY; - ev = tevent_context_init(frame); + ev = samba_tevent_context_init(frame); if (ev == NULL) { goto fail; } @@ -1491,7 +1491,7 @@ NTSTATUS name_query(const char *name, int name_type, struct timeval timeout; NTSTATUS status = NT_STATUS_NO_MEMORY; - ev = tevent_context_init(frame); + ev = samba_tevent_context_init(frame); if (ev == NULL) { goto fail; } @@ -1881,7 +1881,7 @@ NTSTATUS name_resolve_bcast(const char *name, struct tevent_req *req; NTSTATUS status = NT_STATUS_NO_MEMORY; - ev = event_context_init(frame); + ev = samba_tevent_context_init(frame); if (ev == NULL) { goto fail; } @@ -2225,7 +2225,7 @@ NTSTATUS resolve_wins(const char *name, struct tevent_req *req; NTSTATUS status = NT_STATUS_NO_MEMORY; - ev = tevent_context_init(talloc_tos()); + ev = samba_tevent_context_init(talloc_tos()); if (ev == NULL) { goto fail; } -- cgit