[cvslog] (2003-04-30 03:47:56 UTC) Module eggdrop1.6: Change committed

cvslog cvs at tsss.org
Tue Apr 29 21:47:56 CST 2003


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.6
Commit time: 2003-04-30 03:47:56 UTC
Commited by: Will Buckner <wcc at techmonkeys.org>

Modified files:
     src/misc.c src/net.c src/patch.h

Log message:

* IPv6 fixes.

---------------------- diff included ----------------------
Index: eggdrop1.6/src/misc.c
diff -u eggdrop1.6/src/misc.c:1.62 eggdrop1.6/src/misc.c:1.63
--- eggdrop1.6/src/misc.c:1.62	Thu Apr 17 03:29:07 2003
+++ eggdrop1.6/src/misc.c	Tue Apr 29 22:47:46 2003
@@ -7,7 +7,7 @@
  *   help system
  *   motd display and %var substitution
  *
- * $Id: misc.c,v 1.62 2003/04/17 08:29:07 stdarg Exp $
+ * $Id: misc.c,v 1.63 2003/04/30 03:47:46 wcc Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -595,7 +595,8 @@
   char *s2 = logfile_suffix;
 
   /* If the suffix didn't really change, ignore. It's probably a rehash. */
-  if (s && s2 && !strcmp(s, s2)) return;
+  if (s && s2 && !strcmp(s, s2))
+    return;
 
   debug0("Logfile suffix changed. Closing all open logs.");
   strcpy(logfile_suffix, s);
Index: eggdrop1.6/src/net.c
diff -u eggdrop1.6/src/net.c:1.58 eggdrop1.6/src/net.c:1.59
--- eggdrop1.6/src/net.c:1.58	Wed Apr 16 23:38:33 2003
+++ eggdrop1.6/src/net.c	Tue Apr 29 22:47:46 2003
@@ -2,7 +2,7 @@
  * net.c -- handles:
  *   all raw network i/o
  *
- * $Id: net.c,v 1.58 2003/04/17 04:38:33 wcc Exp $
+ * $Id: net.c,v 1.59 2003/04/30 03:47:46 wcc Exp $
  */
 /*
  * This is hereby released into the public domain.
@@ -859,22 +859,23 @@
  */
 int open_telnet_dcc(int sock, char *server, char *port)
 {
-#ifdef DEBUG_IPV6
-  debug1("open_telnet_dcc %s", server);
-#endif /* DEBUG_IPV6 */
   int p;
   unsigned long addr;
   char sv[500];
   unsigned char c[4];
+
+#ifdef DEBUG_IPV6
+  debug1("open_telnet_dcc %s", server);
+#endif /* DEBUG_IPV6 */
   if (port != NULL)
     p = atoi(port);
   else
     p = 2000;
 #ifdef USE_IPV6
   if (getprotocol(server) == AF_INET6) {
-#ifdef DEBUG_IPV6
+#  ifdef DEBUG_IPV6
     debug0("open_telnet_dcc, af_inet6!");
-#endif /* DEBUG_IPV6 */
+#  endif /* DEBUG_IPV6 */
     strncpyz(sv, server, sizeof sv);
     debug2("%s should be %s",sv,server);
   } else {
Index: eggdrop1.6/src/patch.h
diff -u eggdrop1.6/src/patch.h:1.985 eggdrop1.6/src/patch.h:1.986
--- eggdrop1.6/src/patch.h:1.985	Thu Apr 17 00:09:32 2003
+++ eggdrop1.6/src/patch.h	Tue Apr 29 22:47:46 2003
@@ -10,7 +10,7 @@
  * statement, leave the rest of the file alone, this allows better
  * overlapping patches.
  *
- * $Id: patch.h,v 1.985 2003/04/17 05:09:32 wcc Exp $
+ * $Id: patch.h,v 1.986 2003/04/30 03:47:46 wcc Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -41,12 +41,12 @@
  *
  *
  */
-patch("1050556174");            /* current unixtime */
+patch("1051674454");            /* current unixtime */
 /*
  *
  *
  */
-patch("addpatch2");
+patch("ipv6-5");
 /*
  *
  *
----------------------- End of diff -----------------------


More information about the Changes mailing list