mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
handle_ping_response function signature correction
This commit is contained in:
parent
da8ef89e9d
commit
5b6465528f
|
@ -190,7 +190,7 @@ int handle_ping_request(IP_Port source, uint8_t* packet, uint32_t length)
|
|||
return 0;
|
||||
}
|
||||
|
||||
int handle_ping_response(uint8_t* packet, uint32_t length, IP_Port source)
|
||||
int handle_ping_response(IP_Port source, uint8_t* packet, uint32_t length)
|
||||
{
|
||||
pingres_t* p = (pingres_t*) packet;
|
||||
int rc;
|
||||
|
|
Loading…
Reference in New Issue
Block a user