Skip to content

Commit

Permalink
Fix socket close method
Browse files Browse the repository at this point in the history
Use the platform independent socket close function from same place where all other socket communication is used from.
  • Loading branch information
zoltanvb authored May 4, 2024
1 parent d55f95f commit 739f722
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cores/libretro-net-retropad/net_retropad_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ static void open_UDP_socket()
socket_target_t in_target;

if (s && s != SOCKET_ERROR)
close(s);
socket_close(s);

s = socket_create(
"retropad",
Expand Down

0 comments on commit 739f722

Please sign in to comment.