[cvslog] Module eggdrop1.6: Change committed

cvslog cvs at tsss.iavalley.cc.ia.us
Sat Dec 23 00:16:02 CST 2000


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.6
Commit time: 2000-12-23 06:15:56 UTC

Modified files:
     doc/UPDATES1.6 src/cmds.c src/patch.h

Log message:

quickly fixed chaddr .. looked over cmds.c for anymore broken strncpyz, and couldn't seem to find any

---------------------- diff included ----------------------
Index: eggdrop1.6/doc/UPDATES1.6
diff -u eggdrop1.6/doc/UPDATES1.6:1.39 eggdrop1.6/doc/UPDATES1.6:1.40
--- eggdrop1.6/doc/UPDATES1.6:1.39	Sat Dec 23 00:11:33 2000
+++ eggdrop1.6/doc/UPDATES1.6	Sat Dec 23 00:15:46 2000
@@ -4,6 +4,7 @@
 
 1.6.2
 Found by  Fixed by  What...
+various   guppy     cmd_chaddr was broken thanks to a patch of mine
 SuperS    ITE       fixed the traffic accounting code when dealing 
                     high amounts of traffic
           ITE       made configure work properly when called with an
Index: eggdrop1.6/src/cmds.c
diff -u eggdrop1.6/src/cmds.c:1.46 eggdrop1.6/src/cmds.c:1.47
--- eggdrop1.6/src/cmds.c:1.46	Sat Dec 23 00:11:34 2000
+++ eggdrop1.6/src/cmds.c	Sat Dec 23 00:15:46 2000
@@ -3,7 +3,7 @@
  *   commands from a user via dcc
  *   (split in 2, this portion contains no-irc commands)
  * 
- * $Id: cmds.c,v 1.46 2000/12/23 06:11:34 guppy Exp $
+ * $Id: cmds.c,v 1.47 2000/12/23 06:15:46 guppy Exp $
  */
 /* 
  * Copyright (C) 1997  Robey Pointer
@@ -964,7 +964,7 @@
     bi->relay_port = 3333;
   } else {
     bi->address = user_malloc(q - addr + 1);
-    strncpyz(bi->address, addr, q - addr);
+    strncpyz(bi->address, addr, q - addr + 1);
     p = q + 1;
     bi->telnet_port = atoi(p);
     q = strchr(p, '/');
Index: eggdrop1.6/src/patch.h
diff -u eggdrop1.6/src/patch.h:1.406 eggdrop1.6/src/patch.h:1.407
--- eggdrop1.6/src/patch.h:1.406	Sat Dec 23 00:11:34 2000
+++ eggdrop1.6/src/patch.h	Sat Dec 23 00:15:46 2000
@@ -10,7 +10,7 @@
  * statement, leave the rest of the file alone, this allows better
  * overlapping patches.
  * 
- * $Id: patch.h,v 1.406 2000/12/23 06:11:34 guppy Exp $
+ * $Id: patch.h,v 1.407 2000/12/23 06:15:46 guppy Exp $
  */
 /* 
  * Copyright (C) 1997  Robey Pointer
@@ -41,12 +41,12 @@
  *
  *
  */
-patch("977551580");		/* current unixtime */
+patch("977552013");		/* current unixtime */
 /*
  *
  *
  */
-patch("trafficfix");
+patch("chaddrfix");
 /*
  *
  *
----------------------- End of diff -----------------------



More information about the Changes mailing list