[sr-dev] git:misi/dns_srv: core: dns resolver patch bugfix

Mihaly Meszaros misi at niif.hu
Wed Dec 5 13:01:45 CET 2012


Module: sip-router
Branch: misi/dns_srv
Commit: 8dcd97b906663fd17378f2d796728a9057519047
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=8dcd97b906663fd17378f2d796728a9057519047

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 9b094ec..eddb073 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