summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);