enh: return code of get ip from fqdn
This commit is contained in:
parent
a7c54f19a0
commit
2239a924f0
|
@ -972,7 +972,7 @@ int32_t taosGetIpv4FromFqdn(const char *fqdn, uint32_t* ip) {
|
|||
return terrno;
|
||||
}
|
||||
|
||||
terrno = TAOS_SYSTEM_ERROR(ret);
|
||||
terrno = TAOS_SYSTEM_ERROR(errno);
|
||||
return terrno;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue