summaryrefslogtreecommitdiff
path: root/source3/smbd/reply.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2001-09-23 22:51:27 +0000
committerAndrew Bartlett <abartlet@samba.org>2001-09-23 22:51:27 +0000
commit5993238b0ec5baa546d0214f1a26d174563fd43e (patch)
tree2aa0fbdd12da608c1d8d814bb669f31ae38c8b80 /source3/smbd/reply.c
parent4eb7ef6b612a98e1d71a2a0dfde7d695223a4360 (diff)
downloadsamba-5993238b0ec5baa546d0214f1a26d174563fd43e.tar.gz
samba-5993238b0ec5baa546d0214f1a26d174563fd43e.tar.bz2
samba-5993238b0ec5baa546d0214f1a26d174563fd43e.zip
Zero out these pstrings before we start: makes for much easier debugging.
(This used to be commit d417b6b5cbdbb244cc683387d73a9200eef53427)
Diffstat (limited to 'source3/smbd/reply.c')
-rw-r--r--source3/smbd/reply.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 64662a54e2..ac337f1712 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -499,8 +499,8 @@ int reply_sesssetup_and_X(connection_struct *conn, char *inbuf,char *outbuf,int
BOOL doencrypt = lp_encrypted_passwords();
START_PROFILE(SMBsesssetupX);
- *smb_apasswd = 0;
- *smb_ntpasswd = 0;
+ ZERO_STRUCT(smb_apasswd);
+ ZERO_STRUCT(smb_ntpasswd);
smb_bufsize = SVAL(inbuf,smb_vwv2);