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_);
|
||||
#endif
|
||||
|
||||
if(errno) {
|
||||
if(r) {
|
||||
r = ENOENT;
|
||||
free(buf);
|
||||
goto __fail_3;
|
||||
|
Loading…
x
Reference in New Issue
Block a user