]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
update copyright notice / whitespace
authorTinderbox User <tbox@isc.org>
Fri, 22 Jul 2016 23:46:17 +0000 (23:46 +0000)
committerTinderbox User <tbox@isc.org>
Fri, 22 Jul 2016 23:46:17 +0000 (23:46 +0000)
lib/dns/include/dns/keytable.h
lib/dns/keytable.c
lib/dns/zone.c

index ebb85565ecff74e43a167cce75114beb11410c6f..4114cb29324d8db26e935c244543dbd5834a15c6 100644 (file)
@@ -429,7 +429,7 @@ dns_keynode_detachall(isc_mem_t *mctx, dns_keynode_t **target);
 
 isc_result_t
 dns_keytable_forall(dns_keytable_t *keytable,
-                    void (*func)(dns_keytable_t *, dns_keynode_t *, void *),
+                   void (*func)(dns_keytable_t *, dns_keynode_t *, void *),
                    void *arg);
 ISC_LANG_ENDDECLS
 
index 1817b277870db99a7cf0bdaea804e088c9bf86c3..042e9bb5bf579f3368a0951456525cd05333a1b2 100644 (file)
 #define VALID_KEYNODE(kn)               ISC_MAGIC_VALID(kn, KEYNODE_MAGIC)
 
 struct dns_keytable {
-        /* Unlocked. */
-        unsigned int            magic;
-        isc_mem_t               *mctx;
-        isc_mutex_t             lock;
-        isc_rwlock_t            rwlock;
-        /* Locked by lock. */
-        isc_uint32_t            active_nodes;
-        /* Locked by rwlock. */
-        isc_uint32_t            references;
-        dns_rbt_t               *table;
+       /* Unlocked. */
+       unsigned int            magic;
+       isc_mem_t               *mctx;
+       isc_mutex_t             lock;
+       isc_rwlock_t            rwlock;
+       /* Locked by lock. */
+       isc_uint32_t            active_nodes;
+       /* Locked by rwlock. */
+       isc_uint32_t            references;
+       dns_rbt_t               *table;
 };
 
 struct dns_keynode {
-        unsigned int            magic;
-        isc_refcount_t          refcount;
-        dst_key_t *             key;
-        isc_boolean_t           managed;
-        struct dns_keynode *    next;
+       unsigned int            magic;
+       isc_refcount_t          refcount;
+       dst_key_t *             key;
+       isc_boolean_t           managed;
+       struct dns_keynode *    next;
 };
 
 static void
index 38f5dd9b48b879a61d848cc4d454ee02001a7b51..96a71d0e09e25302a8b3c8560ce536f375f9aa14 100644 (file)
@@ -4052,7 +4052,7 @@ addifmissing(dns_keytable_t *keytable, dns_keynode_t *keynode, void *arg) {
                        return;
                dns_keytable_attachkeynode(keytable, keynode, &dummy);
                result = create_keydata(zone, db, ver, diff, keytable,
-                                       &dummy, changed);
+                                       &dummy, changed);
                if (result != ISC_R_SUCCESS && result != ISC_R_NOMORE)
                        ((struct addifmissing_arg *)arg)->result = result;
        }