kopia lustrzana https://github.com/Hamlib/Hamlib
rodzic
2eefb14137
commit
eab660500e
|
@ -999,8 +999,15 @@ void *multicast_publisher(void *arg)
|
||||||
|
|
||||||
if (send_result < 0)
|
if (send_result < 0)
|
||||||
{
|
{
|
||||||
rig_debug(RIG_DEBUG_ERR, "%s: error sending UDP packet: %s\n", __func__,
|
static int flag = 0;
|
||||||
strerror(errno));
|
|
||||||
|
if (errno != 0 || flag == 0)
|
||||||
|
{
|
||||||
|
rig_debug(RIG_DEBUG_ERR,
|
||||||
|
"%s: error sending UDP packet: %s\n", __func__,
|
||||||
|
strerror(errno));
|
||||||
|
flag = 1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue