core: typo fix in dns_cache_clone_entry()
authorAndrei Pelinescu-Onciul <andrei@iptel.org>
Thu, 26 Aug 2010 19:39:33 +0000 (21:39 +0200)
committerAndrei Pelinescu-Onciul <andrei@iptel.org>
Thu, 26 Aug 2010 20:00:01 +0000 (22:00 +0200)
dns_cache.c

index ef3a986..22d1676 100644 (file)
@@ -4112,7 +4112,7 @@ static struct dns_hash_entry *dns_cache_clone_entry(struct dns_hash_entry *e,
        /* fix the values and pointers */
        new->next = new->prev = NULL;
 #ifdef DNS_LU_LST
-       new->last_used_lst.next = new->last_used_lst.next = NULL;
+       new->last_used_lst.next = new->last_used_lst.prev = NULL;
 #endif
        new->rr_lst = (struct dns_rr*)translate_pointer((char*)new, (char*)e,
                                                                                                                (char*)new->rr_lst);