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:
Wim Taymans 2009-10-06 19:17:49 +02:00 committed by Wim Taymans
parent fc56adc2e3
commit 730eead9a9

View file

@ -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;
} }
} }