Add int and string to allowable xml tokens in flrig.c

pull/948/head
Mike Black W9MDB 2022-01-29 22:45:42 -06:00
rodzic b8802f3fee
commit 0588d3be3a
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -144,7 +144,7 @@ const struct rig_caps flrig_caps =
RIG_MODEL(RIG_MODEL_FLRIG),
.model_name = "FLRig",
.mfg_name = "FLRig",
.version = "20220123.0",
.version = "20220129.0",
.copyright = "LGPL",
.status = RIG_STATUS_STABLE,
.rig_type = RIG_TYPE_TRANSCEIVER,
@ -336,7 +336,7 @@ static char *xml_parse2(char *xml, char *value, int valueLen)
if (streq(p, "/value")) { continue; } // empty value
if (streq(p, "i4") || streq(p, "double"))
if (streq(p, "i4") || streq(p, "double") || streq(p, "int") || streq(p, " string"))
{
p = strtok_r(NULL, delims, &pr);
}