summaryrefslogtreecommitdiff
path: root/source/smbd/notify.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/smbd/notify.c')
-rw-r--r--source/smbd/notify.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/smbd/notify.c b/source/smbd/notify.c
index 429723c19e7..3c21ce1e1b5 100644
--- a/source/smbd/notify.c
+++ b/source/smbd/notify.c
@@ -71,7 +71,8 @@ static void change_notify_reply_packet(char *inbuf, uint32 error_code)
*/
set_message(outbuf,18,0,False);
- send_smb(smbd_server_fd(),outbuf);
+ if (!send_smb(smbd_server_fd(),outbuf))
+ exit_server("change_notify_reply_packet: send_smb failed.\n");
}
/****************************************************************************