kopia lustrzana https://github.com/Hamlib/Hamlib
Fix rig_get_ant NULL check
rodzic
7f60e1fcb0
commit
9e8ef6dc9e
|
@ -5087,7 +5087,7 @@ int HAMLIB_API rig_get_ant(RIG *rig, vfo_t vfo, ant_t ant, value_t *option,
|
|||
RETURNFUNC(-RIG_EIO);
|
||||
}
|
||||
|
||||
if (ant_curr)
|
||||
if (ant_curr == NULL)
|
||||
{
|
||||
RETURNFUNC(-RIG_EINVAL);
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue