summaryrefslogtreecommitdiff
path: root/source3/smbd/reply.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-08-19 01:53:45 +0000
committerJeremy Allison <jra@samba.org>2003-08-19 01:53:45 +0000
commit6d6401a67a9985c8c51175db520114dc2ef421ce (patch)
tree9392728e28dbd5afee4a72d44e23ed1cdffb68c4 /source3/smbd/reply.c
parentc0236e8ae32af5480b14ac57677dc983e786d3d5 (diff)
downloadsamba-6d6401a67a9985c8c51175db520114dc2ef421ce.tar.gz
samba-6d6401a67a9985c8c51175db520114dc2ef421ce.tar.bz2
samba-6d6401a67a9985c8c51175db520114dc2ef421ce.zip
Implement SMBexit properly. Found by Samba4 tester. You must do a make
clean proto all; after this commit. Jeremy. (This used to be commit 27af1f9feab12542dc538bfceac4593e644ba3b4)
Diffstat (limited to 'source3/smbd/reply.c')
-rw-r--r--source3/smbd/reply.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 9577375475..5f2dd91232 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -2394,6 +2394,9 @@ int reply_exit(connection_struct *conn,
{
int outsize;
START_PROFILE(SMBexit);
+
+ file_close_pid(SVAL(inbuf,smb_pid));
+
outsize = set_message(outbuf,0,0,True);
DEBUG(3,("exit\n"));