ctdb-tools: Fix ctdb dumpmemory to avoid printing trailing NUL
authorMartin Schwenke <martin@meltin.net>
Thu, 11 Apr 2019 06:56:32 +0000 (16:56 +1000)
committerAmitay Isaacs <amitay@samba.org>
Tue, 7 May 2019 05:45:34 +0000 (05:45 +0000)
commitf78d9388fb459dc83fafb4da6e683e3137ad40e1
treef4603c181a73a1ee3ef6b081338b65f312c8872c
parent95477e69e3e865cb4ee93f947074eef5c873750f
ctdb-tools: Fix ctdb dumpmemory to avoid printing trailing NUL

Fix ctdb rddumpmemory too.

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

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/tools/ctdb.c