]> git.saurik.com Git - apple/configd.git/blobdiff - Plugins/common/cache.c
configd-453.16.tar.gz
[apple/configd.git] / Plugins / common / cache.c
index fbc326f4c96db81c631f0c2e0c9ab750b5eedbdc..fe4e0dee925452434415a6abc98e5ae4cc5905e6 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2003, 2004, 2006 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 2003, 2004, 2006, 2011 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
@@ -81,6 +81,7 @@ cache_SCDynamicStoreCopyValue(SCDynamicStoreRef store, CFStringRef key)
                                 CFRangeMake(0, CFArrayGetCount(cached_removals)),
                                 key)) {
                // if we have "removed" the key
                                 CFRangeMake(0, CFArrayGetCount(cached_removals)),
                                 key)) {
                // if we have "removed" the key
+               _SCErrorSet(kSCStatusNoKey);
                return NULL;
        }
 
                return NULL;
        }