summaryrefslogtreecommitdiff
path: root/source3/smbd/notify.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-06-09 01:38:54 +0000
committerJeremy Allison <jra@samba.org>2001-06-09 01:38:54 +0000
commitf63ee18c684af33342de2c5757f9fdf0b7d84997 (patch)
tree0115bdef20e84af196e58bfa8fa5ff6795641087 /source3/smbd/notify.c
parentc7b67c26e2e6d0ba3e881a729bf91e8ba1d9bde7 (diff)
downloadsamba-f63ee18c684af33342de2c5757f9fdf0b7d84997.tar.gz
samba-f63ee18c684af33342de2c5757f9fdf0b7d84997.tar.bz2
samba-f63ee18c684af33342de2c5757f9fdf0b7d84997.zip
*Wonderful* patch from Andrew Bartlett that will help ensure tdb's are
cleaned on clients abending connections. Thanks Andrew ! Jeremy. (This used to be commit 1b3977c5367a0b713b194f369abd9872ae01ac2a)
Diffstat (limited to 'source3/smbd/notify.c')
-rw-r--r--source3/smbd/notify.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/notify.c b/source3/smbd/notify.c
index 429723c19e..3c21ce1e1b 100644
--- a/source3/smbd/notify.c
+++ b/source3/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");
}
/****************************************************************************