kopia lustrzana https://github.com/Hamlib/Hamlib
Fix compile warnings for flex
rodzic
446210914d
commit
96b43ae337
|
@ -489,7 +489,7 @@ int dttsp_open(RIG *rig)
|
||||||
p = getenv ( "SDR_METERPATH" );
|
p = getenv ( "SDR_METERPATH" );
|
||||||
if (!p) {
|
if (!p) {
|
||||||
meterpath = priv->meter_port.pathname;
|
meterpath = priv->meter_port.pathname;
|
||||||
strncpy(meterpath, rig->state.rigport.pathname, FILPATHLEN - 1);
|
snprintf(meterpath, FILPATHLEN, "%s", rig->state.rigport.pathname);
|
||||||
if (rig->state.rigport.type.rig == RIG_PORT_UDP_NETWORK) {
|
if (rig->state.rigport.type.rig == RIG_PORT_UDP_NETWORK) {
|
||||||
p = strrchr(meterpath, ':');
|
p = strrchr(meterpath, ':');
|
||||||
if (p)
|
if (p)
|
||||||
|
|
Ładowanie…
Reference in New Issue