diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2009-10-06 19:17:49 +0200 |
---|---|---|
committer | Wim Taymans <wim@metal.(none)> | 2009-10-06 22:37:00 +0200 |
commit | 730eead9a987b6f94ff07337b247da3c26ad0280 (patch) | |
tree | 5832d2d2d266a300376d6fa767eb64f9da0f5926 | |
parent | fc56adc2e36cd9b41ab05982973916379e733bb1 (diff) |
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
-rw-r--r-- | gst-libs/gst/rtsp/gstrtspconnection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst-libs/gst/rtsp/gstrtspconnection.c b/gst-libs/gst/rtsp/gstrtspconnection.c index e41889373..136d40aa7 100644 --- a/gst-libs/gst/rtsp/gstrtspconnection.c +++ b/gst-libs/gst/rtsp/gstrtspconnection.c @@ -446,7 +446,7 @@ accept_failed: getnameinfo_failed: wrong_family: { - close (fd); + CLOSE_SOCKET (fd); return GST_RTSP_ERROR; } } |