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 | 7b154dc4313324dfad6cf0117b8ce246bf12bf16 (patch) | |
tree | 16189315a5407b7be2c7cbc7e5c282aa89d8ce83 /source/auth/pass_check.c | |
parent | ead0338ad27f29f1abbbe9f6302d6bf633bf98b2 (diff) | |
download | samba-7b154dc4313324dfad6cf0117b8ce246bf12bf16.tar.gz samba-7b154dc4313324dfad6cf0117b8ce246bf12bf16.tar.xz samba-7b154dc4313324dfad6cf0117b8ce246bf12bf16.zip |
some cleanups to use ZERO_STRUCT() and friends
Diffstat (limited to 'source/auth/pass_check.c')
-rw-r--r-- | source/auth/pass_check.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/auth/pass_check.c b/source/auth/pass_check.c index 9005864b08c..edb4c972904 100644 --- a/source/auth/pass_check.c +++ b/source/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; |