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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Oct 12 15:50:04 CEST 2009


Author: mattm
Date: 2009-10-12 15:50:01 +0200 (Mon, 12 Oct 2009)
New Revision: 5500

Modified:
   trunk/openvas-manager/ChangeLog
   trunk/openvas-manager/src/tasks_sql.h
Log:
	* src/tasks_sql.h (manage_task_update_file): Add missing arg to sql call.

Modified: trunk/openvas-manager/ChangeLog
===================================================================
--- trunk/openvas-manager/ChangeLog	2009-10-12 13:46:02 UTC (rev 5499)
+++ trunk/openvas-manager/ChangeLog	2009-10-12 13:50:01 UTC (rev 5500)
@@ -1,5 +1,9 @@
-2009-10-09  Matthew Mundell <matthew.mundell at intevation.de>
+2009-10-12  Matthew Mundell <matthew.mundell at intevation.de>
 
+	* src/tasks_sql.h (manage_task_update_file): Add missing arg to sql call.
+
+2009-10-12  Matthew Mundell <matthew.mundell at intevation.de>
+
 	Add a --database option.
 
 	* src/tasks_sql.h (manage_migrate, init_manage_process, init_manage): Add

Modified: trunk/openvas-manager/src/tasks_sql.h
===================================================================
--- trunk/openvas-manager/src/tasks_sql.h	2009-10-12 13:46:02 UTC (rev 5499)
+++ trunk/openvas-manager/src/tasks_sql.h	2009-10-12 13:50:01 UTC (rev 5500)
@@ -3208,7 +3208,8 @@
   if (sql_int (0, 0,
                "SELECT count(*) FROM task_files"
                " WHERE task = %llu AND name = '%s';",
-               task))
+               task,
+               quoted_name))
     {
       /* Update the existing file. */
 



More information about the Openvas-commits mailing list