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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Nov 28 08:31:06 CET 2011


Author: mattm
Date: 2011-11-28 08:31:04 +0100 (Mon, 28 Nov 2011)
New Revision: 12202

Modified:
   trunk/openvas-manager/ChangeLog
   trunk/openvas-manager/src/manage_sql.c
Log:
	* src/manage_sql.c (report_count_filtered): Add missing paren in SQL.

Modified: trunk/openvas-manager/ChangeLog
===================================================================
--- trunk/openvas-manager/ChangeLog	2011-11-25 22:22:12 UTC (rev 12201)
+++ trunk/openvas-manager/ChangeLog	2011-11-28 07:31:04 UTC (rev 12202)
@@ -1,3 +1,7 @@
+2011-11-28  Matthew Mundell <matthew.mundell at greenbone.net>
+
+	* src/manage_sql.c (report_count_filtered): Add missing paren in SQL.
+
 2011-11-24  Matthew Mundell <matthew.mundell at greenbone.net>
 
 	* src/manage_sql.c (create_note): Add missing active param.

Modified: trunk/openvas-manager/src/manage_sql.c
===================================================================
--- trunk/openvas-manager/src/manage_sql.c	2011-11-25 22:22:12 UTC (rev 12201)
+++ trunk/openvas-manager/src/manage_sql.c	2011-11-28 07:31:04 UTC (rev 12202)
@@ -13809,7 +13809,7 @@
                   " WHERE ((overrides.owner IS NULL)"
                   "        OR (overrides.owner ="
                   "            (SELECT ROWID FROM users"
-                  "             WHERE users.uuid = '%s'))"
+                  "             WHERE users.uuid = '%s')))"
                   " AND ((overrides.end_time = 0)"
                   "      OR (overrides.end_time >= now ()))",
                   current_credentials.uuid))



More information about the Openvas-commits mailing list