[xiph-commits] r13501 - icecast/trunk/net

karl at svn.xiph.org karl at svn.xiph.org
Thu Aug 9 16:51:26 PDT 2007


Author: karl
Date: 2007-08-09 16:51:26 -0700 (Thu, 09 Aug 2007)
New Revision: 13501

Modified:
   icecast/trunk/net/sock.c
Log:
minor build update


Modified: icecast/trunk/net/sock.c
===================================================================
--- icecast/trunk/net/sock.c	2007-08-09 23:36:29 UTC (rev 13500)
+++ icecast/trunk/net/sock.c	2007-08-09 23:51:26 UTC (rev 13501)
@@ -60,8 +60,11 @@
 
 /* for older C libraries */
 #ifndef AI_NUMERICSERV
-#define AI_NUMERICSERV 0
+# define AI_NUMERICSERV 0
 #endif
+#ifndef AI_ADDRCONFIG
+# define AI_ADDRCONFIG 0
+#endif
 
 /* sock_initialize
 **
@@ -659,7 +662,7 @@
 
         if (bind (sock, ai->ai_addr, ai->ai_addrlen) < 0)
         {
-            close (sock);
+            sock_close (sock);
             continue;
         }
         freeaddrinfo (res);



More information about the commits mailing list