diff options
author | Andrew Tridgell <tridge@samba.org> | 2001-04-28 14:01:02 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2001-04-28 14:01:02 +0000 |
commit | 63602d15afe96206e1fdcea4d2b9014582aa41aa (patch) | |
tree | 47e1baa898afbf0f8894d0daef768367c942f271 /source3/smbd | |
parent | 3c71214d47313e96baedf7b9a27507bc21eed01a (diff) | |
download | samba-63602d15afe96206e1fdcea4d2b9014582aa41aa.tar.gz samba-63602d15afe96206e1fdcea4d2b9014582aa41aa.tar.bz2 samba-63602d15afe96206e1fdcea4d2b9014582aa41aa.zip |
- fixed some compiler warnings
- fixed slprintf and vsprintf macros
(This used to be commit c986a3c51e8cdbc1230edbe0f4a91138c4ada29d)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/reply.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index 15e8e9537e..61b9390d08 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -556,7 +556,7 @@ static BOOL check_server_security(char *orig_user, char *domain, char *unix_user smb_apasswd, smb_apasslen, smb_ntpasswd, smb_ntpasslen); if(ret) { - struct passwd *pwd; + struct passwd *pwd=NULL; /* * User validated ok against Domain controller. @@ -597,7 +597,7 @@ static BOOL check_domain_security(char *orig_user, char *domain, char *unix_user { BOOL ret = False; BOOL user_exists = True; - struct passwd *pwd; + struct passwd *pwd=NULL; if(lp_security() != SEC_DOMAIN) return False; |