summaryrefslogtreecommitdiffstats
path: root/source3/lib/messages.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2014-06-04 14:47:05 +0000
committerJeremy Allison <jra@samba.org>2014-06-18 18:51:13 +0200
commit9fd8d5154f178208f82777f7f81682be66e79400 (patch)
tree775f42a9df3a6b018f76219025124258156a116d /source3/lib/messages.c
parent2f3435085e0d6f64cd41b2d42e446da8821abc4b (diff)
downloadsamba-9fd8d5154f178208f82777f7f81682be66e79400.tar.gz
samba-9fd8d5154f178208f82777f7f81682be66e79400.tar.xz
samba-9fd8d5154f178208f82777f7f81682be66e79400.zip
messaging3: Make messaging_dgm_wipe return 0/errno
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/lib/messages.c')
-rw-r--r--source3/lib/messages.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/source3/lib/messages.c b/source3/lib/messages.c
index a9015d05b0..53fff214da 100644
--- a/source3/lib/messages.c
+++ b/source3/lib/messages.c
@@ -879,10 +879,11 @@ static int mess_parent_dgm_cleanup(void *private_data)
{
struct messaging_context *msg_ctx = talloc_get_type_abort(
private_data, struct messaging_context);
- NTSTATUS status;
+ int ret;
- status = messaging_dgm_wipe(msg_ctx);
- DEBUG(10, ("messaging_dgm_wipe returned %s\n", nt_errstr(status)));
+ ret = messaging_dgm_wipe(msg_ctx);
+ DEBUG(10, ("messaging_dgm_wipe returned %s\n",
+ ret ? strerror(ret) : "ok"));
return lp_parm_int(-1, "messaging", "messaging dgm cleanup interval",
60*15);
}