gst/udp/gstudpsrc.c: Use CLOSE_SOCKET() here instead of close() to maintain win32...
authorTim-Philipp Müller <tim@centricular.net>
Thu, 27 Jul 2006 10:01:49 +0000 (10:01 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Thu, 27 Jul 2006 10:01:49 +0000 (10:01 +0000)
Original commit message from CVS:
* gst/udp/gstudpsrc.c: (gst_udpsrc_start):
Use CLOSE_SOCKET() here instead of close() to maintain
win32 workiness.

ChangeLog
gst/udp/gstudpsrc.c

index 103e7f1..215f97f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
index fc82552..e56dafd 100644 (file)
@@ -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,