pull up r19896 from trunk
authorTom Yu <tlyu@mit.edu>
Sat, 29 Sep 2007 00:02:27 +0000 (00:02 +0000)
committerTom Yu <tlyu@mit.edu>
Sat, 29 Sep 2007 00:02:27 +0000 (00:02 +0000)
 r19896@cathode-dark-space:  jaltman | 2007-08-29 18:23:16 -0400
 ticket: new
 subject: NIM - a small readability change
 component: windows/identity/kconfig/api.c

 Instead of testing for NOT the machine key, test
 for is the user key.

ticket: 5702
version_fixed: 1.6.3

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-6@20008 dc483132-0cff-0310-8789-dd5450dbe970

src/windows/identity/kconfig/api.c

index f9cd64855c01ba0966aab1607bb8e334e42d65be..8317e6c9b3ac5b9354cabe0e330f33ea079178d5 100644 (file)
@@ -2069,7 +2069,7 @@ khc_remove_value(khm_handle conf, const wchar_t * value, khm_int32 flags) {
 
     c = khc_space_from_handle(conf);
 
-    if(!khc_is_machine_handle(conf))
+    if(khc_is_user_handle(conf))
         hku = khcint_space_open_key(c, KHM_PERM_READ);
     hkm = khcint_space_open_key(c, KHM_PERM_READ | KCONF_FLAG_MACHINE);