summaryrefslogtreecommitdiffstats
path: root/source/smbd/ipc.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/ipc.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/ipc.c')
-rw-r--r--source/smbd/ipc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/smbd/ipc.c b/source/smbd/ipc.c
index 9d347a430be..ca128d29d9c 100644
--- a/source/smbd/ipc.c
+++ b/source/smbd/ipc.c
@@ -115,7 +115,7 @@ void send_trans_reply(char *outbuf,
show_msg(outbuf);
if (!send_smb(smbd_server_fd(),outbuf))
- exit_server("send_trans_reply: send_smb failed.");
+ exit_server_cleanly("send_trans_reply: send_smb failed.");
tot_data_sent = this_ldata;
tot_param_sent = this_lparam;
@@ -149,7 +149,7 @@ void send_trans_reply(char *outbuf,
show_msg(outbuf);
if (!send_smb(smbd_server_fd(),outbuf))
- exit_server("send_trans_reply: send_smb failed.");
+ exit_server_cleanly("send_trans_reply: send_smb failed.");
tot_data_sent += this_ldata;
tot_param_sent += this_lparam;