summaryrefslogtreecommitdiffstats
path: root/source/smbd/nttrans.c
diff options
context:
space:
mode:
authorJames Peach <jpeach@samba.org>2006-12-18 04:25:21 +0000
committerJames Peach <jpeach@samba.org>2006-12-18 04:25:21 +0000
commit4cc6db0e752e5236e15aadbb4f6503b412c38224 (patch)
treee2aeb1d67329e5183bd4cbab08260a9d6e50a061 /source/smbd/nttrans.c
parent8d0f9da702b937d58f64d146c567a9e0a6e0cb9c (diff)
downloadsamba-4cc6db0e752e5236e15aadbb4f6503b412c38224.tar.gz
samba-4cc6db0e752e5236e15aadbb4f6503b412c38224.tar.xz
samba-4cc6db0e752e5236e15aadbb4f6503b412c38224.zip
r20237: Replace exit_server with exit_server_cleanly where appropriate. All
send_smb failures should be clean exits. All times when we exit as a matter of policy should also be clean exits.
Diffstat (limited to 'source/smbd/nttrans.c')
-rw-r--r--source/smbd/nttrans.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/smbd/nttrans.c b/source/smbd/nttrans.c
index 90a20858594..d4ca1dab0cb 100644
--- a/source/smbd/nttrans.c
+++ b/source/smbd/nttrans.c
@@ -100,7 +100,7 @@ static int send_nt_replies(char *outbuf, int bufsize, NTSTATUS nt_error,
if(params_to_send == 0 && data_to_send == 0) {
show_msg(outbuf);
if (!send_smb(smbd_server_fd(),outbuf)) {
- exit_server("send_nt_replies: send_smb failed.");
+ exit_server_cleanly("send_nt_replies: send_smb failed.");
}
return 0;
}
@@ -235,7 +235,7 @@ static int send_nt_replies(char *outbuf, int bufsize, NTSTATUS nt_error,
/* Send the packet */
show_msg(outbuf);
if (!send_smb(smbd_server_fd(),outbuf)) {
- exit_server("send_nt_replies: send_smb failed.");
+ exit_server_cleanly("send_nt_replies: send_smb failed.");
}
pp += params_sent_thistime;