minor fix;
This commit is contained in:
parent
a0f77c91bb
commit
1cde3a1eb8
@ -2175,7 +2175,7 @@ int connection_initiate(conn_t *co, const char *host, int port,
|
|||||||
r = __resolvehost(host, buf, __TMPBUFLEN, &host_);
|
r = __resolvehost(host, buf, __TMPBUFLEN, &host_);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if(errno) {
|
if(r) {
|
||||||
r = ENOENT;
|
r = ENOENT;
|
||||||
free(buf);
|
free(buf);
|
||||||
goto __fail_3;
|
goto __fail_3;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user