]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
initialize event before stat.c because of memory pools goop
authorwessels <>
Mon, 19 Apr 1999 11:00:19 +0000 (11:00 +0000)
committerwessels <>
Mon, 19 Apr 1999 11:00:19 +0000 (11:00 +0000)
src/main.cc

index 06a692572c2678f38827eae6f5e3403b61020d27..d100478b342e2b2f6cf7e95e1f9af9da7907401c 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: main.cc,v 1.293 1999/04/19 04:45:05 wessels Exp $
+ * $Id: main.cc,v 1.294 1999/04/19 05:00:19 wessels Exp $
  *
  * DEBUG: section 1     Startup and Main Loop
  * AUTHOR: Harvest Derived
@@ -460,6 +460,7 @@ mainInitialize(void)
        unlinkdInit();
        urlInitialize();
        cachemgrInit();
+       eventInit();    /* eventInit() before statInit() */
        statInit();
        storeInit();
        mainSetCwd();
@@ -467,7 +468,6 @@ mainInitialize(void)
        do_mallinfo = 1;
        mimeInit(Config.mimeTablePathname);
        pconnInit();
-       eventInit();
        refreshInit();
 #if DELAY_POOLS
        delayPoolsInit();