mirror of
https://github.com/libretro/RetroArch
synced 2025-02-28 22:13:51 +00:00
Fix socket close method (#16494)
Use the platform independent socket close function from same place where all other socket communication is used from.
This commit is contained in:
parent
17b9324a24
commit
3092740312
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user