cleanup: remove unnecessary sbeacon set
This commit is contained in:
parent
ffb8b35424
commit
5676a17204
@ -1067,8 +1067,6 @@ main(int argc, char **argv)
|
|||||||
tivo_bcast.sin_addr.s_addr = htonl(getBcastAddress());
|
tivo_bcast.sin_addr.s_addr = htonl(getBcastAddress());
|
||||||
tivo_bcast.sin_port = htons(2190);
|
tivo_bcast.sin_port = htons(2190);
|
||||||
}
|
}
|
||||||
else
|
|
||||||
sbeacon = -1;
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
reload_ifaces(0);
|
reload_ifaces(0);
|
||||||
@ -1114,7 +1112,7 @@ main(int argc, char **argv)
|
|||||||
timeout.tv_usec = lastnotifytime.tv_usec - timeofday.tv_usec;
|
timeout.tv_usec = lastnotifytime.tv_usec - timeofday.tv_usec;
|
||||||
}
|
}
|
||||||
#ifdef TIVO_SUPPORT
|
#ifdef TIVO_SUPPORT
|
||||||
if (GETFLAG(TIVO_MASK))
|
if (sbeacon >= 0)
|
||||||
{
|
{
|
||||||
if (timeofday.tv_sec >= (lastbeacontime.tv_sec + beacon_interval))
|
if (timeofday.tv_sec >= (lastbeacontime.tv_sec + beacon_interval))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user