diff options
author | Volker Lendecke <vl@samba.org> | 2017-07-21 19:08:43 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2017-12-05 00:56:12 +0100 |
commit | fc2f0023a0ea521c5bc392db8f635bc3f23f68b8 (patch) | |
tree | bc089e609260ac18a94faa90b224a1a374b41528 /source3/utils/smbcontrol.c | |
parent | 2dac8eb2778802847688ef862f375440d3aa0ff4 (diff) | |
download | samba-fc2f0023a0ea521c5bc392db8f635bc3f23f68b8.tar.gz |
messaging: Remove the "n_sent" arg from message_send_all
The only user of this is an informative message in smbcontrol. I don't think
that's worth the effort.
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/utils/smbcontrol.c')
-rw-r--r-- | source3/utils/smbcontrol.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/source3/utils/smbcontrol.c b/source3/utils/smbcontrol.c index 4c4bfcb4e5b..08c1530cdff 100644 --- a/source3/utils/smbcontrol.c +++ b/source3/utils/smbcontrol.c @@ -62,16 +62,13 @@ static bool send_message(struct messaging_context *msg_ctx, const void *buf, int len) { bool ret; - int n_sent = 0; if (procid_to_pid(&pid) != 0) return NT_STATUS_IS_OK( messaging_send_buf(msg_ctx, pid, msg_type, (const uint8_t *)buf, len)); - ret = message_send_all(msg_ctx, msg_type, buf, len, &n_sent); - DEBUG(10,("smbcontrol/send_message: broadcast message to " - "%d processes\n", n_sent)); + ret = message_send_all(msg_ctx, msg_type, buf, len); return ret; } |