projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc56adc
)
rtsp: use CLOSE_SOCKET() instead of close()
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Tue, 6 Oct 2009 17:17:49 +0000
(19:17 +0200)
committer
Wim Taymans
<wim@metal.(none)>
Tue, 6 Oct 2009 20:37:00 +0000
(22:37 +0200)
Use CLOSE_SOCKET instead of directly calling close() because it does the right
thing for windows.
Fixes #597539
gst-libs/gst/rtsp/gstrtspconnection.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/rtsp/gstrtspconnection.c
b/gst-libs/gst/rtsp/gstrtspconnection.c
index
e418893
..
136d40a
100644
(file)
--- 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;
}
}