[sr-dev] git:master: core: dns resolver patch bugfix

Mihaly Meszaros misi at niif.hu
Thu Dec 20 13:43:19 CET 2012


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

Author: Mihály Mészáros <misi at niif.hu>
Committer: Mihály Mészáros <misi at niif.hu>
Date:   Wed Dec  5 12:55:24 2012 +0100

core: dns resolver patch bugfix

- a small bug fixed.
  Many thanks to Daniel (miconda at gmail.com) for reporting it.

---

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

diff --git a/resolve.c b/resolve.c
index 251d680..d37a74e 100644
--- a/resolve.c
+++ b/resolve.c
@@ -1650,7 +1650,7 @@ struct hostent* naptr_sip_resolvehost(str* name,  unsigned short* port,
 #endif
 	}
 	/* fallback to srv lookup */
-	no_naptr_srv_sip_resolvehost(name,port,proto);
+	he=no_naptr_srv_sip_resolvehost(name,port,proto);
 end:
 	if (naptr_head)
 		free_rdata_list(naptr_head);




More information about the sr-dev mailing list