summaryrefslogtreecommitdiffstats
path: root/source3/auth/pass_check.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-09-05 13:24:20 +0000
committerAndrew Tridgell <tridge@samba.org>1998-09-05 13:24:20 +0000
commitf6044c87c021342d68d614d59bc8dacd32d223b9 (patch)
tree1e59411c92f35d49856438bf9f42092100a12064 /source3/auth/pass_check.c
parent0cb85e04a974daf4442a7561931ff1be566a8410 (diff)
downloadsamba-f6044c87c021342d68d614d59bc8dacd32d223b9.tar.gz
samba-f6044c87c021342d68d614d59bc8dacd32d223b9.tar.xz
samba-f6044c87c021342d68d614d59bc8dacd32d223b9.zip
some cleanups to use ZERO_STRUCT() and friends
(This used to be commit 7b154dc4313324dfad6cf0117b8ce246bf12bf16)
Diffstat (limited to 'source3/auth/pass_check.c')
-rw-r--r--source3/auth/pass_check.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/auth/pass_check.c b/source3/auth/pass_check.c
index 9005864b08c..edb4c972904 100644
--- a/source3/auth/pass_check.c
+++ b/source3/auth/pass_check.c
@@ -506,7 +506,7 @@ static BOOL krb5_auth(char *user,char *password)
return(False);
}
- memset((char *)&kcreds, 0, sizeof(kcreds));
+ ZERO_STRUCT(kcreds);
kcreds.client = kprinc;