From 5993238b0ec5baa546d0214f1a26d174563fd43e Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sun, 23 Sep 2001 22:51:27 +0000 Subject: Zero out these pstrings before we start: makes for much easier debugging. (This used to be commit d417b6b5cbdbb244cc683387d73a9200eef53427) --- source3/smbd/reply.c | 4 ++-- 1 file 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); -- cgit