diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2006-07-27 10:01:49 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2006-07-27 10:01:49 +0000 |
commit | 3deb7ad298b4a8f03f16e3feb03d827029736717 (patch) | |
tree | 06154ec7ff6ae46ebf93c4b3085ec188a9e29a64 | |
parent | 5eebca0ee36a808db05759ba6e788c2930395180 (diff) |
gst/udp/gstudpsrc.c: Use CLOSE_SOCKET() here instead of close() to maintain win32 workiness.
Original commit message from CVS:
* gst/udp/gstudpsrc.c: (gst_udpsrc_start):
Use CLOSE_SOCKET() here instead of close() to maintain
win32 workiness.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | gst/udp/gstudpsrc.c | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,9 @@ +2006-07-27 Tim-Philipp Müller <tim at centricular dot net> + + * gst/udp/gstudpsrc.c: (gst_udpsrc_start): + Use CLOSE_SOCKET() here instead of close() to maintain + win32 workiness. + 2006-07-27 Wim Taymans <wim@fluendo.com> Patch by: Thijs Vermeir <thijs dot vermeir at barco dot com> diff --git a/gst/udp/gstudpsrc.c b/gst/udp/gstudpsrc.c index fc82552b..e56dafd8 100644 --- a/gst/udp/gstudpsrc.c +++ b/gst/udp/gstudpsrc.c @@ -707,7 +707,7 @@ getsockname_error: } udpbuffer_error: { - close (src->sock); + CLOSE_SOCKET (src->sock); src->sock = -1; GST_ELEMENT_ERROR (src, RESOURCE, SETTINGS, (NULL), ("Could not create a buffer of the size requested, %d: %s (%d)", ret, |