Fix gai_error to print the status instead of errno

https://github.com/Hamlib/Hamlib/issues/589
pull/608/head
Michael Black W9MDB 2021-03-07 11:50:13 -06:00
rodzic 307858f60c
commit a35f39840c
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -225,7 +225,7 @@ int network_open(hamlib_port_t *rp, int default_port)
"%s: cannot get host \"%s\": %s\n",
__func__,
rp->pathname,
gai_strerror(errno));
gai_strerror(status));
RETURNFUNC(-RIG_ECONF);
}