Commits

jilles  committed 9607785

[svn] Make -logfile work again.

  • Participants
  • Parent commits 01f8f6d

Comments (0)

Files changed (3)

+nenolod     2007/02/09 22:18:23 UTC	(20070209-3205)
+  Log:
+  - fix off-by-one memory overflow error.
+  
+
+  Changes:	Modified:
+  +1 -5		trunk/libcharybdis/kqueue.c (File Modified) 
+
+
 jilles      2007/02/04 15:08:04 UTC	(20070204-3203)
   Log:
   Change handling of modularized umodes:

File include/serno.h

-#define SERNO "20070204-3203"
+#define SERNO "20070209-3205"
  * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
  *
- * $Id: s_log.c 1563 2006-06-02 00:43:35Z nenolod $
+ * $Id: s_log.c 3209 2007-02-11 16:54:43Z jilles $
  */
 
 #include "stdinc.h"
 init_main_logfile(void)
 {
 	if(log_main == NULL)
-		log_main = fopen(LPATH, "a");
+		log_main = fopen(logFileName, "a");
 }
 
 void
 	if(log_main != NULL)
 		fclose(log_main);
 
-	log_main = fopen(LPATH, "a");
+	log_main = fopen(logFileName, "a");
 
 	/* log_main is handled above, so just do the rest */
 	for(i = 1; i < LAST_LOGFILE; i++)