kopia lustrzana https://github.com/Hamlib/Hamlib
Fix segfault with rigctld/rigctl -m 2 -u
https://github.com/Hamlib/Hamlib/issues/1386pull/1389/head
rodzic
1fbb03fa92
commit
6644afbf8d
|
@ -573,11 +573,14 @@ int rig_sprintf_parm_gran(char *str, int nlen, setting_t parm,
|
||||||
}
|
}
|
||||||
else if (RIG_PARM_IS_STRING(rig_idx2setting(i)))
|
else if (RIG_PARM_IS_STRING(rig_idx2setting(i)))
|
||||||
{
|
{
|
||||||
|
if (gran[i].step.s)
|
||||||
|
{
|
||||||
rig_debug(RIG_DEBUG_ERR, "%s: BAND_SELECT?\n", __func__);
|
rig_debug(RIG_DEBUG_ERR, "%s: BAND_SELECT?\n", __func__);
|
||||||
len += sprintf(str + len,
|
len += sprintf(str + len,
|
||||||
"%s(%s)",
|
"%s(%s) ",
|
||||||
ms,
|
ms,
|
||||||
gran[i].step.s);
|
gran[i].step.s);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Ładowanie…
Reference in New Issue