mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Update time before running functions for recieved packets.
This commit is contained in:
parent
9ccdac0e82
commit
bbef18ab4e
@ -277,6 +277,8 @@ void networking_registerhandler(Networking_Core *net, uint8_t byte, packet_handl
|
||||
|
||||
void networking_poll(Networking_Core *net)
|
||||
{
|
||||
unix_time_update();
|
||||
|
||||
IP_Port ip_port;
|
||||
uint8_t data[MAX_UDP_PACKET_SIZE];
|
||||
uint32_t length;
|
||||
|
Loading…
x
Reference in New Issue
Block a user