smbd: Don't stop sending to children when one send fails
authorVolker Lendecke <vl@samba.org>
Tue, 21 Jun 2016 14:10:14 +0000 (16:10 +0200)
committerJeremy Allison <jra@samba.org>
Wed, 20 Jul 2016 03:21:06 +0000 (05:21 +0200)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/server.c

index 65dc173a0ef2a3d0b10b49e9c70ef61398ff01f4..07eca5135e40c49f53054fdca0b4cf3f684e9fc8 100644 (file)
@@ -205,7 +205,8 @@ static NTSTATUS messaging_send_to_children(struct messaging_context *msg_ctx,
                                        pid_to_procid(child->pid),
                                        msg_type, data);
                if (!NT_STATUS_IS_OK(status)) {
-                       return status;
+                       DBG_DEBUG("messaging_send(%d) failed: %s\n",
+                                 (int)child->pid, nt_errstr(status));
                }
        }
        return NT_STATUS_OK;