[Hamlib-commits] Hamlib -- Ham radio control libraries branch master updated. 5007765d102694ebaf79a
Library to control radio transceivers and receivers
Brought to you by:
n0nb
From: Michael B. <mdb...@us...> - 2020-07-04 17:44:31
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Hamlib -- Ham radio control libraries". The branch, master has been updated via 5007765d102694ebaf79a964056bb04ec4d88cbf (commit) from 65eab6c4304c1d5fedc2d7e22426ffa17f9ee84d (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 5007765d102694ebaf79a964056bb04ec4d88cbf Author: Michael Black W9MDB <mdb...@ya...> Date: Sat Jul 4 12:43:46 2020 -0500 Make the escaped com port really work https://github.com/Hamlib/Hamlib/issues/337 diff --git a/src/misc.c b/src/misc.c index 4c08ad82..327a1149 100644 --- a/src/misc.c +++ b/src/misc.c @@ -1393,7 +1393,7 @@ int HAMLIB_API parse_hoststr(char *hoststr, char host[256], char port[6]) if (strncasecmp(hoststr, "com", 3) == 0) { return -1; } // escaped COM port like \\.\COM3 - if (strstr(hoststr,"\\")) { return -1; } + if (strstr(hoststr,"\\\\.\\")) { return -1; } // bracketed IPV6 with optional port int n = sscanf(hoststr, "[%255[^]]]:%5s", host, port); ----------------------------------------------------------------------- Summary of changes: src/misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/post-receive -- Hamlib -- Ham radio control libraries |