summaryrefslogtreecommitdiff
path: root/source3/libsmb/namequery.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-02-18 09:08:19 +0100
committerMichael Adam <obnox@samba.org>2013-02-19 23:47:46 +0100
commitc8dda78e35294ad56f088c86201430442df2efce (patch)
tree6b959cc54507c604739f2310194ad6c9e1295b31 /source3/libsmb/namequery.c
parent7fb720502f6488b5b4e29a00f4b34a6486159349 (diff)
downloadsamba-c8dda78e35294ad56f088c86201430442df2efce.tar.gz
samba-c8dda78e35294ad56f088c86201430442df2efce.tar.bz2
samba-c8dda78e35294ad56f088c86201430442df2efce.zip
s3:libsmb: make use of samba_tevent_context_init()
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/libsmb/namequery.c')
-rw-r--r--source3/libsmb/namequery.c8
1 files changed, 4 insertions, 4 deletions
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;
}