diff options
author | Andrew Tridgell <tridge@samba.org> | 1998-09-05 13:24:20 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1998-09-05 13:24:20 +0000 |
commit | f6044c87c021342d68d614d59bc8dacd32d223b9 (patch) | |
tree | 1e59411c92f35d49856438bf9f42092100a12064 /source3/smbd/password.c | |
parent | 0cb85e04a974daf4442a7561931ff1be566a8410 (diff) | |
download | samba-f6044c87c021342d68d614d59bc8dacd32d223b9.tar.gz samba-f6044c87c021342d68d614d59bc8dacd32d223b9.tar.bz2 samba-f6044c87c021342d68d614d59bc8dacd32d223b9.zip |
some cleanups to use ZERO_STRUCT() and friends
(This used to be commit 7b154dc4313324dfad6cf0117b8ce246bf12bf16)
Diffstat (limited to 'source3/smbd/password.c')
-rw-r--r-- | source3/smbd/password.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/password.c b/source3/smbd/password.c index 684420f4c3..1d90af3066 100644 --- a/source3/smbd/password.c +++ b/source3/smbd/password.c @@ -1202,7 +1202,8 @@ machine %s in domain %s.\n", global_myname, global_myworkgroup )); * see if they were valid. */ - memset(&cli, '\0', sizeof(struct cli_state)); + ZERO_STRUCT(cli); + if(cli_initialise(&cli) == False) { DEBUG(0,("domain_client_validate: unable to initialize client connection.\n")); return False; |