summaryrefslogtreecommitdiffstats
path: root/source/smbd/sesssetup.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-11-03 18:41:26 -0700
committerJeremy Allison <jra@samba.org>2007-11-03 18:41:26 -0700
commit95d01279a5def709d0a5d5ae7224d6286006d120 (patch)
tree5d257a2255ea2872189f1c3ec70dfd58356a9f9d /source/smbd/sesssetup.c
parente848506c858bd16706c1d7f6b4b032005512b8ac (diff)
downloadsamba-95d01279a5def709d0a5d5ae7224d6286006d120.tar.gz
samba-95d01279a5def709d0a5d5ae7224d6286006d120.tar.xz
samba-95d01279a5def709d0a5d5ae7224d6286006d120.zip
I can't get away without a 'length' arg. :-).
Jeremy.
Diffstat (limited to 'source/smbd/sesssetup.c')
-rw-r--r--source/smbd/sesssetup.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/smbd/sesssetup.c b/source/smbd/sesssetup.c
index 35efbc009f9..87cb3b435b3 100644
--- a/source/smbd/sesssetup.c
+++ b/source/smbd/sesssetup.c
@@ -1317,7 +1317,8 @@ static void setup_new_vc_session(void)
#endif
if (lp_reset_on_zero_vc()) {
connections_forall(shutdown_other_smbds,
- CONST_DISCARD(void *,client_addr(addr)));
+ CONST_DISCARD(void *,
+ client_addr(addr,sizeof(addr))));
}
}