Fix compilation warning in netrigctl.c

https://github.com/Hamlib/Hamlib/issues/1000
pull/1001/head
Mike Black W9MDB 2022-04-02 16:21:10 -05:00
rodzic bd1ffcfb54
commit 7671229529
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -670,7 +670,7 @@ static int netrigctl_open(RIG *rig)
if (strncmp(buf, "done", 4) == 0) { return RIG_OK; }
if (sscanf(buf, "%31[^=]=%1024[^\t\n]", setting, value) == 2)
if (sscanf(buf, "%31[^=]=%1023[^\t\n]", setting, value) == 2)
{
if (strcmp(setting, "vfo_ops") == 0)
{