Improve comment in misc.c

pull/518/head
Michael Black W9MDB 2021-01-17 08:09:06 -06:00
rodzic 00a48edf5d
commit 70f27a0a03
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -1637,7 +1637,7 @@ int HAMLIB_API parse_hoststr(char *hoststr, char host[256], char port[6])
// Handle device names 1st
if (strstr(hoststr, "/dev")) { return -1; }
if (strstr(hoststr, "/")) { return -1; } // posible path -- no hostname starts with /
if (strstr(hoststr, "/")) { return -1; } // probably a path so not a hoststr
if (strncasecmp(hoststr, "com", 3) == 0) { return -1; }