diff options
author | Andrew Tridgell <tridge@samba.org> | 2003-06-10 03:48:09 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2003-06-10 03:48:09 +0000 |
commit | 1d008cd2cb2bf1821bca72328ef33aa76318e282 (patch) | |
tree | 8e0dd8958c5dd7e9e3a04f8128370899451a2c78 /source3/libsmb/clikrb5.c | |
parent | 2cfc19f89939353e81bc0c00c3fe084a68bba20f (diff) | |
download | samba-1d008cd2cb2bf1821bca72328ef33aa76318e282.tar.gz samba-1d008cd2cb2bf1821bca72328ef33aa76318e282.tar.bz2 samba-1d008cd2cb2bf1821bca72328ef33aa76318e282.zip |
use ZERO_STRUCT() instead of memset
(This used to be commit 082084042307f5f7d532b28debdeac11753a05f9)
Diffstat (limited to 'source3/libsmb/clikrb5.c')
-rw-r--r-- | source3/libsmb/clikrb5.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/clikrb5.c b/source3/libsmb/clikrb5.c index df6043a618..fd5dd91325 100644 --- a/source3/libsmb/clikrb5.c +++ b/source3/libsmb/clikrb5.c @@ -255,7 +255,7 @@ static krb5_error_code ads_krb5_mk_req(krb5_context context, } /* obtain ticket & session key */ - memset((char *)&creds, 0, sizeof(creds)); + ZERO_STRUCT(creds); if ((retval = krb5_copy_principal(context, server, &creds.server))) { DEBUG(1,("krb5_copy_principal failed (%s)\n", error_message(retval))); |