rpcclient: Use cmdline_messaging_context
authorChristof Schmitt <cs@samba.org>
Mon, 20 Aug 2018 22:54:11 +0000 (15:54 -0700)
committerAndreas Schneider <asn@cryptomilk.org>
Fri, 7 Sep 2018 15:26:15 +0000 (17:26 +0200)
commitdd3ae2ffdc66be4707471bfccf27ef446b5599cb
treedc82d1d8790682ad33b691d4867a5fcd847d83d9
parentd7fa3815a83a50fd9e3d78cac0d5ef3eb79235e5
rpcclient: Use cmdline_messaging_context

Use cmdline_messaging_context with its error checking instead of open
coding the same steps.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13465

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/rpcclient/rpcclient.c