mirror of
https://github.com/libretro/RetroArch.git
synced 2024-05-20 05:20:19 -04: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…
Reference in a new issue