summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2009-10-06 19:17:49 +0200
committerWim Taymans <wim@metal.(none)>2009-10-06 22:37:00 +0200
commit730eead9a987b6f94ff07337b247da3c26ad0280 (patch)
tree5832d2d2d266a300376d6fa767eb64f9da0f5926
parentfc56adc2e36cd9b41ab05982973916379e733bb1 (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.c2
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;
}
}