summaryrefslogtreecommitdiff
path: root/source/auth
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
commit7b154dc4313324dfad6cf0117b8ce246bf12bf16 (patch)
tree16189315a5407b7be2c7cbc7e5c282aa89d8ce83 /source/auth
parentead0338ad27f29f1abbbe9f6302d6bf633bf98b2 (diff)
downloadsamba-7b154dc4313324dfad6cf0117b8ce246bf12bf16.tar.gz
some cleanups to use ZERO_STRUCT() and friends
Diffstat (limited to 'source/auth')
-rw-r--r--source/auth/pass_check.c2
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;