summaryrefslogtreecommitdiff
path: root/source3/smbd/process.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-11-03 23:20:10 -0700
committerJeremy Allison <jra@samba.org>2007-11-03 23:20:10 -0700
commit5b0b4f23ef5fec3d1ad518237f973d4e014b5766 (patch)
treef75cdfaef81e5fcc0cf7061e0141b97831508ee1 /source3/smbd/process.c
parent51a0354d751f48a2542984c81e218da33669bbeb (diff)
downloadsamba-5b0b4f23ef5fec3d1ad518237f973d4e014b5766.tar.gz
samba-5b0b4f23ef5fec3d1ad518237f973d4e014b5766.tar.bz2
samba-5b0b4f23ef5fec3d1ad518237f973d4e014b5766.zip
Remove most of the remaining globals out of lib/util_sock.c.
I have a plan for dealing with the remaining..... Watch this space. Jeremy. (This used to be commit 963fc7685212689f02b3adcc05b4273ee5c382d4)
Diffstat (limited to 'source3/smbd/process.c')
-rw-r--r--source3/smbd/process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c
index 24feac4630..aa39b01258 100644
--- a/source3/smbd/process.c
+++ b/source3/smbd/process.c
@@ -1472,7 +1472,7 @@ static void process_smb(char *inbuf, size_t nread, size_t unread_bytes)
/* send a negative session response "not listening on calling name" */
static unsigned char buf[5] = {0x83, 0, 0, 1, 0x81};
DEBUG( 1, ( "Connection denied from %s\n",
- client_addr(addr,sizeof(addr)) ) );
+ client_addr(get_client_fd(),addr,sizeof(addr)) ) );
(void)send_smb(smbd_server_fd(),(char *)buf);
exit_server_cleanly("connection denied");
}