From 1a9e233627a3df893e0ae014ae80125840934dd0 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Tue, 23 Mar 1999 22:10:49 +0000 Subject: [PATCH] Fix window's get_from_os() call so that gets the default cache name if 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 --- src/lib/krb5/os/ccdefname.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/krb5/os/ccdefname.c b/src/lib/krb5/os/ccdefname.c index fccdbf833..d2bba7dfc 100644 --- a/src/lib/krb5/os/ccdefname.c +++ b/src/lib/krb5/os/ccdefname.c @@ -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")) { -- 2.26.2