Fix 'get_powerstat' command provided by rigctld by taking care of the given separator according to the extended response protocol

pull/1324/head
max 2023-06-29 16:20:00 +02:00
rodzic 0f706dfaae
commit 44fa32c8cd
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -4796,7 +4796,7 @@ declare_proto_rig(get_powerstat)
fprintf(fout, "%s: ", cmd->arg1);
}
fprintf(fout, "%d\n", stat);
fprintf(fout, "%d%c", stat, resp_sep);
rig_powerstat = stat; // update our global so others can see powerstat
RETURNFUNC2(status);