lib: Remove temporary ctdb_connection in ctdb_control
commit6c8606245381262ed43c14dec403b5a8a0eee5b5
authorVolker Lendecke <vl@samba.org>
Fri, 25 Sep 2015 21:39:41 +0000 (25 14:39 -0700)
committerJeremy Allison <jra@samba.org>
Fri, 2 Oct 2015 22:01:11 +0000 (3 00:01 +0200)
tree31e71304f5a1ca97e4b4be6a376950c129d7f7f0
parent2aedb2d0851a09ca63a886ae14ee666ead6f8702
lib: Remove temporary ctdb_connection in ctdb_control

I can just assume this is a bad hack for a condition that should have been
fixed in a different way. Today we pretty much expect a messaging_context to be
properly initialized everywhere, and this includes a ctdb connection.

If something later fails due to this commit, we need to do a
messaging_init before the offending call

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/lib/ctdbd_conn.c