In rigctld.c avoid closing already closed fsockin

pull/1077/head
Mike Black W9MDB 2022-06-27 12:25:31 -05:00
rodzic 6955a0ed4f
commit 7a73423200
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -1167,6 +1167,7 @@ void *handle_socket(void *arg)
{
rig_debug(RIG_DEBUG_ERR, "%s: fdopen out: %s\n", __func__, strerror(errno));
fclose(fsockin);
fsockin = NULL;
goto handle_exit;
}