s4:messaging: make sure only imessaging_client_init() can be used with a wrapper...
authorStefan Metzmacher <metze@samba.org>
Fri, 18 May 2018 14:28:47 +0000 (16:28 +0200)
committerRalph Boehme <slow@samba.org>
Thu, 12 Jul 2018 00:23:37 +0000 (02:23 +0200)
commite186d6a06b1b300256a2cb4138f0532d518d0597
tree0235247033c46d3a98b1613190f832c32e574c3e
parenta08ab2940051ae47ce71149087a24d060227ef19
s4:messaging: make sure only imessaging_client_init() can be used with a wrapper tevent_context wrapper

imessaging_client_init() can be used with a wrapper tevent_context,
but only if a global messaging_dgm_ref() already exist.

All other uses of imessaging_init() and imessaging_client_init()
require a raw tevent_context.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Thu Jul 12 02:23:37 CEST 2018 on sn-devel-144
source4/lib/messaging/messaging.c