diff options
author | Stefan Metzmacher <metze@samba.org> | 2013-02-18 09:11:52 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2013-02-19 23:47:48 +0100 |
commit | 22dd9e7c792c4decf4fcbe3b1ed2ea1f165c2af6 (patch) | |
tree | 405adeb582a2f912b386249d4ac05e87d8bb3f7e /source3/utils/smbcontrol.c | |
parent | e8bda0017c5f8770dc3dce238ea3cefb1f4dd73f (diff) | |
download | samba-22dd9e7c792c4decf4fcbe3b1ed2ea1f165c2af6.tar.gz samba-22dd9e7c792c4decf4fcbe3b1ed2ea1f165c2af6.tar.bz2 samba-22dd9e7c792c4decf4fcbe3b1ed2ea1f165c2af6.zip |
s3:utils: 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/utils/smbcontrol.c')
-rw-r--r-- | source3/utils/smbcontrol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/smbcontrol.c b/source3/utils/smbcontrol.c index 0e4a8cc7b7..47884ff861 100644 --- a/source3/utils/smbcontrol.c +++ b/source3/utils/smbcontrol.c @@ -1500,7 +1500,7 @@ int main(int argc, const char **argv) * routines mostly return True==1 for success, but * shell needs 0. */ - if (!(evt_ctx = tevent_context_init(NULL)) || + if (!(evt_ctx = samba_tevent_context_init(NULL)) || !(msg_ctx = messaging_init(NULL, evt_ctx))) { fprintf(stderr, "could not init messaging context\n"); TALLOC_FREE(frame); |