NIM - a small readability change
authorJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 29 Aug 2007 22:23:16 +0000 (22:23 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 29 Aug 2007 22:23:16 +0000 (22:23 +0000)
Instead of testing for NOT the machine key, test
for is the user key.

ticket: new
component: windows/identity/kconfig/api.c

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19896 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);