summaryrefslogtreecommitdiff
path: root/source3/auth
diff options
context:
space:
mode:
Diffstat (limited to 'source3/auth')
-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 9005864b08..edb4c97290 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;