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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Oct 9 16:40:27 CEST 2009


Author: mattm
Date: 2009-10-09 16:40:26 +0200 (Fri, 09 Oct 2009)
New Revision: 5464

Modified:
   trunk/openvas-manager/ChangeLog
   trunk/openvas-manager/src/tasks_sql.h
Log:
	* src/tasks_sql.h (report_notes, report_warnings): Add missing args to
	calls.

Modified: trunk/openvas-manager/ChangeLog
===================================================================
--- trunk/openvas-manager/ChangeLog	2009-10-09 14:21:16 UTC (rev 5463)
+++ trunk/openvas-manager/ChangeLog	2009-10-09 14:40:26 UTC (rev 5464)
@@ -1,5 +1,10 @@
 2009-10-09  Matthew Mundell <matthew.mundell at intevation.de>
 
+	* src/tasks_sql.h (report_notes, report_warnings): Add missing args to
+	calls.
+
+2009-10-09  Matthew Mundell <matthew.mundell at intevation.de>
+
 	* src/tasks_sql.h (report_holes): Add missing arg to call.
 
 2009-10-09  Matthew Mundell <matthew.mundell at intevation.de>

Modified: trunk/openvas-manager/src/tasks_sql.h
===================================================================
--- trunk/openvas-manager/src/tasks_sql.h	2009-10-09 14:21:16 UTC (rev 5463)
+++ trunk/openvas-manager/src/tasks_sql.h	2009-10-09 14:40:26 UTC (rev 5464)
@@ -1946,7 +1946,8 @@
                       " AND results.ROWID = report_results.result"
                       " AND report_results.report = %llu"
                       " AND results.host = '%s';",
-                      report);
+                      report,
+                      host);
   else
     *notes = sql_int (0, 0,
                       "SELECT count(*) FROM results, report_results"
@@ -1976,7 +1977,8 @@
                          " AND results.ROWID = report_results.result"
                          " AND report_results.report = %llu"
                          " AND results.host = '%s';",
-                         report);
+                         report,
+                         host);
   else
     *warnings = sql_int (0, 0,
                          "SELECT count(*) FROM results, report_results"



More information about the Openvas-commits mailing list