[vlc-commits] commit: Remove left over HAVE_GETADDRINFO, fix ACL regression (1.2 only) ( Rémi Denis-Courmont )

git at videolan.org git at videolan.org
Sat Jun 5 12:11:01 CEST 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Jun  5 13:10:09 2010 +0300| [d8685373ac2760882f257ab58cbc8fe3c1c8df95] | committer: Rémi Denis-Courmont 

Remove left over HAVE_GETADDRINFO, fix ACL regression (1.2 only)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d8685373ac2760882f257ab58cbc8fe3c1c8df95
---

 src/network/acl.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/src/network/acl.c b/src/network/acl.c
index ab80f9f..9d15a7e 100644
--- a/src/network/acl.c
+++ b/src/network/acl.c
@@ -84,9 +84,7 @@ static int ACL_Resolve( vlc_object_t *p_this, uint8_t *p_bytes,
             break;
         }
 
-#if defined (HAVE_GETADDRINFO) || defined (WIN32)
-        /* unfortunately many people define AF_INET6
-           though they don't have struct sockaddr_in6 */
+#ifdef AF_INET6
         case AF_INET6:
         {
             struct sockaddr_in6 *addr;



More information about the vlc-commits mailing list