Revert "Add CR/LF to the flrig improvement"

This reverts commit 4fd9edbc97.
pull/1404/head
Mike Black W9MDB 2023-10-05 09:41:58 -05:00
rodzic 4fd9edbc97
commit d48c847cf5
1 zmienionych plików z 2 dodań i 4 usunięć

Wyświetl plik

@ -138,7 +138,7 @@ const struct rig_caps flrig_caps =
RIG_MODEL(RIG_MODEL_FLRIG),
.model_name = "FLRig",
.mfg_name = "FLRig",
.version = "20231005.0",
.version = "20230802.0",
.copyright = "LGPL",
.status = RIG_STATUS_STABLE,
.rig_type = RIG_TYPE_TRANSCEIVER,
@ -423,13 +423,11 @@ static int read_transaction(RIG *rig, char *xml, int xml_len)
int retval;
int retry;
//char *delims;
char terminator[32] = "</methodResponse>";
char *terminator = "</methodResponse>";
struct rig_state *rs = &rig->state;
ENTERFUNC;
SNPRINTF(terminator,sizeof(terminator), "</methodResponse>%c%c", 0x0d, 0x0a);
retry = 2;
//delims = "\n";
xml[0] = 0;