Suppress unimportant error in rigctld.c

pull/224/head
Michael Black 2020-03-15 16:31:19 -05:00
rodzic 33babeaeff
commit 4150f12f36
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -1093,7 +1093,7 @@ handle_exit:
#ifndef __MINGW32__
retcode = close(handle_data_arg->sock);
if (retcode != 0) { rig_debug(RIG_DEBUG_ERR, "%s: close(handle_data_arg->sock) %s\n", __func__, strerror(retcode)); }
if (retcode != 0 && errno != EBADF) { rig_debug(RIG_DEBUG_ERR, "%s: close(handle_data_arg->sock) %s\n", __func__, strerror(errno)); }
#endif