--- cvs/globals-core.h.save	Thu Apr 11 09:46:02 2002
+++ cvs/globals-core.h	Thu Apr 11 09:46:11 2002
@@ -113,5 +113,4 @@
 extern void resetStats(void);
 extern int initGlobalValues(void);
-extern void postCommandLineArgumentsInitialization(time_t *lastTime);
 extern void initGdbm(char *dbPath);
 extern void initThreads();
--- cvs/initialize.c.save	Thu Apr 11 09:45:37 2002
+++ cvs/initialize.c	Thu Apr 11 09:45:46 2002
@@ -452,13 +452,4 @@
 /* ******************************* */
 
-void postCommandLineArgumentsInitialization(time_t *lastTime _UNUSED_) {
-#ifndef WIN32
-  if(myGlobals.daemonMode)
-    daemonize();
-#endif
-}
-
-/* ******************************* */
-
 void initGdbm(char * dbPath) {
   char tmpBuf[200];
--- cvs/main.c.save	Thu Apr 11 09:32:20 2002
+++ cvs/main.c	Thu Apr 11 09:46:48 2002
@@ -723,4 +723,9 @@
 #endif /* MICRO_NTOP */
 
+#ifndef WIN32
+  if(myGlobals.daemonMode)
+    daemonize();
+#endif
+
   initGdbm(myGlobals.dbPath);
 
@@ -819,5 +824,5 @@
   /* Patch courtesy of Burton M. Strauss III <BStrauss3@attbi.com> */
   handleProtocols();
-  if(myGlobals.protoSpecs) {
+  if(myGlobals.protoSpecs != NULL) {
     free(myGlobals.protoSpecs);
     myGlobals.protoSpecs = NULL;
@@ -854,6 +859,4 @@
 #endif
 
-  postCommandLineArgumentsInitialization(&lastTime);
-
   /*
    * In multithread mode, a separate thread handles packet sniffing
