[Openvas-commits] r5661 - in trunk/openvas-manager: . src

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Oct 21 12:58:51 CEST 2009


Author: mattm
Date: 2009-10-21 12:58:50 +0200 (Wed, 21 Oct 2009)
New Revision: 5661

Modified:
   trunk/openvas-manager/ChangeLog
   trunk/openvas-manager/src/tasks_sql.h
Log:
	* src/tasks_sql.h (init_manage): Init current_credentials.

Modified: trunk/openvas-manager/ChangeLog
===================================================================
--- trunk/openvas-manager/ChangeLog	2009-10-21 10:25:38 UTC (rev 5660)
+++ trunk/openvas-manager/ChangeLog	2009-10-21 10:58:50 UTC (rev 5661)
@@ -1,5 +1,9 @@
 2009-10-20  Matthew Mundell <matthew.mundell at intevation.de>
 
+	* src/tasks_sql.h (init_manage): Init current_credentials.
+
+2009-10-20  Matthew Mundell <matthew.mundell at intevation.de>
+
 	Add database migration from version 0 to 1.
 
 	* src/tasks_sql.h (manage_db_version): Correct doc.
@@ -383,7 +387,7 @@
 
 2009-09-30  Matthew Mundell <matthew.mundell at intevation.de>
 
-	* src/tasks_sql.h (DATABASE_VERSION): Increase to 1, for row added
+	* src/tasks_sql.h (DATABASE_VERSION): Increase to 1, for column added
 	2009-08-28.
 
 2009-09-28  Matthew Mundell <matthew.mundell at intevation.de>

Modified: trunk/openvas-manager/src/tasks_sql.h
===================================================================
--- trunk/openvas-manager/src/tasks_sql.h	2009-10-21 10:25:38 UTC (rev 5660)
+++ trunk/openvas-manager/src/tasks_sql.h	2009-10-21 10:58:50 UTC (rev 5661)
@@ -959,6 +959,9 @@
                      (GLogFunc) openvas_log_func,
                      log_config);
 
+  current_credentials.username = NULL;
+  current_credentials.password = NULL;
+
   init_manage_process (0, database);
 
   /* Check that the version of the database is correct. */



More information about the Openvas-commits mailing list