[Openvas-commits] r5673 - in trunk/openvas-administrator: . src

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Oct 22 10:56:10 CEST 2009


Author: mattm
Date: 2009-10-22 10:56:09 +0200 (Thu, 22 Oct 2009)
New Revision: 5673

Modified:
   trunk/openvas-administrator/ChangeLog
   trunk/openvas-administrator/src/openvasad.c
Log:
	* src/openvasad.c (cleanup, main): Clean a little formatting.

Modified: trunk/openvas-administrator/ChangeLog
===================================================================
--- trunk/openvas-administrator/ChangeLog	2009-10-22 08:54:07 UTC (rev 5672)
+++ trunk/openvas-administrator/ChangeLog	2009-10-22 08:56:09 UTC (rev 5673)
@@ -1,3 +1,7 @@
+2009-10-22  Matthew Mundell <matthew.mundell at intevation.de>
+
+	* src/openvasad.c (cleanup, main): Clean a little formatting.
+
 2009-10-21  Jan-Oliver Wagner <jan-oliver.wagner at greenbone.net>
 
 	* src/openvasad.c (cleanup, main): Factored out pidfile management.

Modified: trunk/openvas-administrator/src/openvasad.c
===================================================================
--- trunk/openvas-administrator/src/openvasad.c	2009-10-22 08:54:07 UTC (rev 5672)
+++ trunk/openvas-administrator/src/openvasad.c	2009-10-22 08:56:09 UTC (rev 5673)
@@ -335,7 +335,7 @@
 #endif
   tracef ("   Exiting.\n");
   if (log_config) free_log_configuration (log_config);
-  pidfile_remove("openvasad");
+  pidfile_remove ("openvasad");
 }
 
 /**
@@ -876,8 +876,9 @@
     }
 
   /* Set our pidfile. */
-  if (pidfile_create("openvasad")) exit (EXIT_FAILURE);
 
+  if (pidfile_create ("openvasad")) exit (EXIT_FAILURE);
+
   /* Loop waiting for connections and passing the work to
    * `accept_and_maybe_fork'.
    *



More information about the Openvas-commits mailing list