[cvslog] (2004-12-22 21:07:25 UTC) Module eggdrop1.9: Change committed!

cvslog cvs at tsss.org
Wed Dec 22 15:07:25 CST 2004


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.9
Commit time: 2004-12-22 21:07:25 UTC
Commited by: Bryan Drewery <lordares at shatow.net>

Modified files:
     lib/compat/inet_ntop.c

Log message:

* Fix AF_INET6 compile error when IPV6 is not defined in inet-ntop.c

---------------------- diff included ----------------------
Index: eggdrop1.9/lib/compat/inet_ntop.c
diff -u eggdrop1.9/lib/compat/inet_ntop.c:1.2 eggdrop1.9/lib/compat/inet_ntop.c:1.3
--- eggdrop1.9/lib/compat/inet_ntop.c:1.2	Sun May  5 11:40:32 2002
+++ eggdrop1.9/lib/compat/inet_ntop.c	Wed Dec 22 15:07:15 2004
@@ -21,7 +21,7 @@
  */
 
 #ifndef lint
-static const char rcsid[] = "$Id: inet_ntop.c,v 1.2 2002/05/05 16:40:32 tothwolf Exp $";
+static const char rcsid[] = "$Id: inet_ntop.c,v 1.3 2004/12/22 21:07:15 lordares Exp $";
 #endif
 
 #if defined(LIBC_SCCS) && !defined(lint)
@@ -79,8 +79,10 @@
 	switch (af) {
 	case AF_INET:
 		return (inet_ntop4(src, dst, size));
+#ifdef IPV6
 	case AF_INET6:
 		return (inet_ntop6(src, dst, size));
+#endif
 	default:
 /*		__set_errno (EAFNOSUPPORT); */
 		return (NULL);
----------------------- End of diff -----------------------



More information about the Changes mailing list