summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-02-18 09:13:23 +0100
committerMichael Adam <obnox@samba.org>2013-02-19 23:47:45 +0100
commit7fb720502f6488b5b4e29a00f4b34a6486159349 (patch)
treea83d6dc76e54ec68ae8dbe3e81408881f5499400
parent5d2574edd24464c0b38c6f2e80382b01a82e00d0 (diff)
downloadsamba-7fb720502f6488b5b4e29a00f4b34a6486159349.tar.gz
samba-7fb720502f6488b5b4e29a00f4b34a6486159349.tar.bz2
samba-7fb720502f6488b5b4e29a00f4b34a6486159349.zip
s4:lib/com: make use of samba_tevent_context_init()
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
-rw-r--r--source4/lib/com/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/com/main.c b/source4/lib/com/main.c
index 1f657cef87..e67051bb81 100644
--- a/source4/lib/com/main.c
+++ b/source4/lib/com/main.c
@@ -28,7 +28,7 @@ WERROR com_init_ctx(struct com_context **ctx, struct tevent_context *event_ctx)
{
*ctx = talloc(NULL, struct com_context);
if (event_ctx == NULL) {
- event_ctx = tevent_context_init(*ctx);
+ event_ctx = samba_tevent_context_init(*ctx);
}
(*ctx)->event_ctx = event_ctx;
return WERR_OK;