From: Tom Yu Date: Sat, 25 Mar 1995 20:15:14 +0000 (+0000) Subject: * scc_maybe.c (krb5_scc_open_file): fixed typo (extra & in X-Git-Tag: krb5-1.0-beta5~462 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=62d3c6e4ebe7e07c9ddf2f6f7e3e0fde02dcfd39;p=krb5.git * scc_maybe.c (krb5_scc_open_file): fixed typo (extra & in reference to fvno_bytes) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5248 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/ccache/stdio/ChangeLog b/src/lib/krb5/ccache/stdio/ChangeLog index 909aa5c22..5fda9a66d 100644 --- a/src/lib/krb5/ccache/stdio/ChangeLog +++ b/src/lib/krb5/ccache/stdio/ChangeLog @@ -1,5 +1,8 @@ Sat Mar 25 14:42:37 1995 Tom Yu (tlyu@dragons-lair) + * scc_maybe.c (krb5_scc_open_file): fixed typo (extra & in + reference to fvno_bytes) + * scc_gennew.c: Ultrix cc (and K&R compilers) doesn't deal with automatic aggregate initialization, so fixed scc_fvno usage. diff --git a/src/lib/krb5/ccache/stdio/scc_maybe.c b/src/lib/krb5/ccache/stdio/scc_maybe.c index 510299a66..f693feec0 100644 --- a/src/lib/krb5/ccache/stdio/scc_maybe.c +++ b/src/lib/krb5/ccache/stdio/scc_maybe.c @@ -156,7 +156,7 @@ krb5_scc_open_file (context, id, mode) } } else { /* verify a valid version number is there */ - if (!fread((char *)&fvno_bytes, sizeof(fvno_bytes), 1, f)) { + if (!fread((char *)fvno_bytes, sizeof(fvno_bytes), 1, f)) { (void) krb5_unlock_file(context, f, data->filename); (void) fclose(f); return KRB5_CCACHE_BADVNO;