[cvslog] (2003-05-05 00:49:54 UTC) Module eggdrop1.6: Change committed

cvslog cvs at tsss.org
Sun May 4 18:49:54 CST 2003


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.6
Commit time: 2003-05-05 00:49:54 UTC
Commited by: Will Buckner <wcc at techmonkeys.org>

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

Log message:

* Fixed an uninitialized variable in putlog(). Patch by TaKeDa.

---------------------- diff included ----------------------
Index: eggdrop1.6/doc/UPDATES1.6
diff -u eggdrop1.6/doc/UPDATES1.6:1.499 eggdrop1.6/doc/UPDATES1.6:1.500
--- eggdrop1.6/doc/UPDATES1.6:1.499	Sun May  4 19:22:31 2003
+++ eggdrop1.6/doc/UPDATES1.6	Sun May  4 19:49:44 2003
@@ -1,10 +1,11 @@
-$Id: UPDATES1.6,v 1.499 2003/05/05 00:22:31 wcc Exp $
+$Id: UPDATES1.6,v 1.500 2003/05/05 00:49:44 wcc Exp $
 
 Changes in Eggdrop: (since v1.6.0)
 ----------------------------------
 
 1.6.16
 Found by  Fixed by  What...
+various   TaKeDa    fixed an uninitialized variable in putlog()
 
 1.6.15 (04 May 2003)
 Found by  Fixed by  What...
Index: eggdrop1.6/src/misc.c
diff -u eggdrop1.6/src/misc.c:1.64 eggdrop1.6/src/misc.c:1.65
--- eggdrop1.6/src/misc.c:1.64	Fri May  2 23:36:38 2003
+++ eggdrop1.6/src/misc.c	Sun May  4 19:49:44 2003
@@ -7,7 +7,7 @@
  *   help system
  *   motd display and %var substitution
  *
- * $Id: misc.c,v 1.64 2003/05/03 04:36:38 wcc Exp $
+ * $Id: misc.c,v 1.65 2003/05/05 00:49:44 wcc Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -494,8 +494,8 @@
   format = va_arg(va, char *);
 
   /* Create the timestamp */
+  t = localtime(&now2);
   if (shtime) {
-    t = localtime(&now2);
     egg_strftime(stamp, sizeof(stamp) - 2, LOG_TS, t);
     strcat(stamp, " ");
     tsl = strlen(stamp);
Index: eggdrop1.6/src/patch.h
diff -u eggdrop1.6/src/patch.h:1.989 eggdrop1.6/src/patch.h:1.990
--- eggdrop1.6/src/patch.h:1.989	Sun May  4 19:22:31 2003
+++ eggdrop1.6/src/patch.h	Sun May  4 19:49:44 2003
@@ -10,7 +10,7 @@
  * statement, leave the rest of the file alone, this allows better
  * overlapping patches.
  *
- * $Id: patch.h,v 1.989 2003/05/05 00:22:31 wcc Exp $
+ * $Id: patch.h,v 1.990 2003/05/05 00:49:44 wcc Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -41,12 +41,12 @@
  *
  *
  */
-patch("1052094125");            /* current unixtime */
+patch("1052095520");            /* current unixtime */
 /*
  *
  *
  */
-patch("none");
+patch("log_time3");
 /*
  *
  *
----------------------- End of diff -----------------------


More information about the Changes mailing list