Browse code

core: dns resolver patch bugfix

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

Mihály Mészáros authored on 05/12/2012 11:55:24
Showing 1 changed files
... ...
@@ -1650,7 +1650,7 @@ struct hostent* naptr_sip_resolvehost(str* name,  unsigned short* port,
1650 1650
 #endif
1651 1651
 	}
1652 1652
 	/* fallback to srv lookup */
1653
-	no_naptr_srv_sip_resolvehost(name,port,proto);
1653
+	he=no_naptr_srv_sip_resolvehost(name,port,proto);
1654 1654
 end:
1655 1655
 	if (naptr_head)
1656 1656
 		free_rdata_list(naptr_head);