summaryrefslogtreecommitdiffstats
path: root/src/lib/krb5/ccache/stdio
diff options
context:
space:
mode:
authorTom Yu <tlyu@mit.edu>1995-03-25 20:15:14 +0000
committerTom Yu <tlyu@mit.edu>1995-03-25 20:15:14 +0000
commit62d3c6e4ebe7e07c9ddf2f6f7e3e0fde02dcfd39 (patch)
tree9a0254a7064012d951b073f01cfa518319849b16 /src/lib/krb5/ccache/stdio
parente0404ed5b1c24d11789a63df4ef228b40d5f0b9f (diff)
downloadkrb5-62d3c6e4ebe7e07c9ddf2f6f7e3e0fde02dcfd39.tar.gz
krb5-62d3c6e4ebe7e07c9ddf2f6f7e3e0fde02dcfd39.tar.xz
krb5-62d3c6e4ebe7e07c9ddf2f6f7e3e0fde02dcfd39.zip
* 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
Diffstat (limited to 'src/lib/krb5/ccache/stdio')
-rw-r--r--src/lib/krb5/ccache/stdio/ChangeLog3
-rw-r--r--src/lib/krb5/ccache/stdio/scc_maybe.c2
2 files changed, 4 insertions, 1 deletions
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;