projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c4cd75
)
missed a return value check (should be ret)
author
John Kohl
<jtkohl@mit.edu>
Wed, 2 May 1990 19:05:44 +0000
(19:05 +0000)
committer
John Kohl
<jtkohl@mit.edu>
Wed, 2 May 1990 19:05:44 +0000
(19:05 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@684
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/krb5/ccache/file/fcc_store.c
patch
|
blob
|
history
diff --git
a/src/lib/krb5/ccache/file/fcc_store.c
b/src/lib/krb5/ccache/file/fcc_store.c
index 6562b543b2784c6db0948c9d15afa6fc7098db65..af5d3cf3834c8702378700454bd879fa29ba87b7 100644
(file)
--- a/
src/lib/krb5/ccache/file/fcc_store.c
+++ b/
src/lib/krb5/ccache/file/fcc_store.c
@@
-43,7
+43,7
@@
krb5_fcc_store(id, creds)
if (OPENCLOSE(id)) {
ret = open(((krb5_fcc_data *) id->data)->filename,
O_RDWR | O_APPEND, 0);
- if (
((krb5_fcc_data *) id->data)->fd
< 0)
+ if (
ret
< 0)
return errno;
((krb5_fcc_data *) id->data)->fd = ret;
}