[sr-dev] git:master: core: typo fix in dns_cache_clone_entry()

Andrei Pelinescu-Onciul andrei at iptel.org
Thu Aug 26 22:01:26 CEST 2010


Module: sip-router
Branch: master
Commit: 31b1244704964cb123989bac4f03bcff43f5b1fc
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=31b1244704964cb123989bac4f03bcff43f5b1fc

Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei at iptel.org>
Date:   Thu Aug 26 21:39:33 2010 +0200

core: typo fix in dns_cache_clone_entry()

---

 dns_cache.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dns_cache.c b/dns_cache.c
index ef3a986..22d1676 100644
--- a/dns_cache.c
+++ b/dns_cache.c
@@ -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);




More information about the sr-dev mailing list