[cvslog] (2003-04-17 08:29:18 UTC) Module eggdrop1.6: Change committed

cvslog cvs at tsss.org
Thu Apr 17 02:29:18 CST 2003


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.6
Commit time: 2003-04-17 08:29:18 UTC
Commited by: stdarg <stdarg at techmonkeys.org>

Modified files:
     src/misc.c

Log message:

* Fixed logfile suffix stray message bug.

---------------------- diff included ----------------------
Index: eggdrop1.6/src/misc.c
diff -u eggdrop1.6/src/misc.c:1.61 eggdrop1.6/src/misc.c:1.62
--- eggdrop1.6/src/misc.c:1.61	Tue Feb  4 05:07:54 2003
+++ eggdrop1.6/src/misc.c	Thu Apr 17 03:29:07 2003
@@ -7,7 +7,7 @@
  *   help system
  *   motd display and %var substitution
  *
- * $Id: misc.c,v 1.61 2003/02/04 11:07:54 wcc Exp $
+ * $Id: misc.c,v 1.62 2003/04/17 08:29:07 stdarg Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -593,6 +593,9 @@
 {
   int i;
   char *s2 = logfile_suffix;
+
+  /* If the suffix didn't really change, ignore. It's probably a rehash. */
+  if (s && s2 && !strcmp(s, s2)) return;
 
   debug0("Logfile suffix changed. Closing all open logs.");
   strcpy(logfile_suffix, s);
----------------------- End of diff -----------------------


More information about the Changes mailing list