Skip to content

Commit

Permalink
get a proper error
Browse files Browse the repository at this point in the history
  • Loading branch information
andres-asm committed Nov 20, 2017
1 parent 34934b1 commit e10aee3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion network/netplay/netplay_discovery.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e10aee3

Please sign in to comment.