mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 18:20:44 +00:00
rtsp: use CLOSE_SOCKET() instead of close()
Use CLOSE_SOCKET instead of directly calling close() because it does the right thing for windows. Fixes #597539
This commit is contained in:
parent
fc56adc2e3
commit
730eead9a9
1 changed files with 1 additions and 1 deletions
|
@ -446,7 +446,7 @@ accept_failed:
|
||||||
getnameinfo_failed:
|
getnameinfo_failed:
|
||||||
wrong_family:
|
wrong_family:
|
||||||
{
|
{
|
||||||
close (fd);
|
CLOSE_SOCKET (fd);
|
||||||
return GST_RTSP_ERROR;
|
return GST_RTSP_ERROR;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue