@@ -9,8 +9,8 @@
#ifdef WIN32 /* ------------------ Windows platform specific stuff ----------------------- */
--- src/snortsam.c.orig 2013-02-07 20:06:57.420122275 +0100
-+++ src/snortsam.c 2013-02-07 20:14:54.288122795 +0100
-@@ -2997,6 +2997,20 @@
++++ src/snortsam.c 2013-02-07 20:45:55.220121571 +0100
+@@ -2997,6 +2997,19 @@
if(wantdaemon) /* If "daemon" is set in config file... */
{ if(daemon(1, 0) != -1) /* ..try to daemonize thyself... */
daemonized=TRUE; /* ...and let us know. */
@@ -26,7 +26,6 @@
+ fprintf(pidf, "%d\n", (int)pid);
+ fclose(pidf);
+ }
-+ exit(EXIT_SUCCESS);
+ }
}
#endif
|