@dilyanpalauzov commented on this pull request.
> @@ -1833,6 +1847,23 @@ ip_addr_t *str2ip(str *st) return ipb; } +struct hostent *__resolvehost(char *name) +{ + if(dns_cache_init) { + return dns_resolvehost(name); + } else { + return _resolvehost(name); + } +} + +struct hostent *__sip_resolvehost(str *name, unsigned short *port, char *proto) +{ + if(dns_cache_init) { + return dns_sip_resolvehost(name, port, proto); + } else {
This else
can be skipped:
if (x) return y;
/*skipped else*/ return z;
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.