s3:smbstatus: Use cmdline_messaging_context
authorChristof Schmitt <cs@samba.org>
Mon, 20 Aug 2018 22:46:27 +0000 (15:46 -0700)
committerAndreas Schneider <asn@cryptomilk.org>
Fri, 7 Sep 2018 15:26:15 +0000 (17:26 +0200)
commitd7fa3815a83a50fd9e3d78cac0d5ef3eb79235e5
tree5ca16d78f2593f0e1956fdfc5c4f49250f70de80
parent29fd2c2e5ad3c2d44f3629c6b7b4139772fe350c
s3:smbstatus: Use cmdline_messaging_context

Use cmdline_messaging_context to initialize a messaging context 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/utils/status.c
source3/wscript_build