Skip to content

Commit

Permalink
Fix window's get_from_os() call so that gets the default cache name if
Browse files Browse the repository at this point in the history
the strategy of getting the information from the registry fails (which it
normally will, since this is used only for PC-DCE compatibility).


git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11301 dc483132-0cff-0310-8789-dd5450dbe970
  • Loading branch information
tytso committed Mar 23, 1999
1 parent 92faa7e commit cf205d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/krb5/os/ccdefname.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ static krb5_error_code get_from_os(char *name_buf, int name_size)
char *prefix = krb5_cc_dfl_ops->prefix;
int len;

if (get_from_registry(name_buf, name_size) == 0)
if (get_from_registry(name_buf, name_size) != 0)
return 0;

if (!strcmp(prefix, "FILE") || !strcmp(prefix, "STDIO")) {
Expand Down

0 comments on commit cf205d6

Please sign in to comment.