mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-27 10:10:57 +00:00
get a proper error
This commit is contained in:
parent
34934b169c
commit
e10aee3f1d
@ -171,7 +171,7 @@ bool netplay_discovery_driver_ctl(enum rarch_netplay_discovery_ctl_state state,
|
||||
ret = sendto(lan_ad_client_fd, (const char *) &ad_packet_buffer,
|
||||
sizeof(struct ad_packet), 0, addr->ai_addr, addr->ai_addrlen);
|
||||
if (ret < (ssize_t) (2*sizeof(uint32_t)))
|
||||
RARCH_WARN("[discovery] Failed to send netplay discovery query (error: %d)\n", ret);
|
||||
RARCH_WARN("[discovery] Failed to send netplay discovery query (error: %d)\n", errno);
|
||||
}
|
||||
|
||||
freeaddrinfo_retro(addr);
|
||||
|
Loading…
Reference in New Issue
Block a user