[Openvas-commits] r9177 - in branches/openvas-manager-1-0: . src

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Oct 7 10:24:10 CEST 2010


Author: mwiegand
Date: 2010-10-07 10:24:09 +0200 (Thu, 07 Oct 2010)
New Revision: 9177

Modified:
   branches/openvas-manager-1-0/ChangeLog
   branches/openvas-manager-1-0/src/manage_sql.c
Log:
* src/manage_sql.c (where_levels): Remove trailing paren as false positive
  is now the final case. (Backport from trunk; initially committed in
  r8759 by Matthew Mundell.)


Modified: branches/openvas-manager-1-0/ChangeLog
===================================================================
--- branches/openvas-manager-1-0/ChangeLog	2010-10-07 07:42:58 UTC (rev 9176)
+++ branches/openvas-manager-1-0/ChangeLog	2010-10-07 08:24:09 UTC (rev 9177)
@@ -1,3 +1,9 @@
+2010-10-07  Michael Wiegand <michael.wiegand at greenbone.net>
+
+	* src/manage_sql.c (where_levels): Remove trailing paren as false positive
+	is now the final case. (Backport from trunk; initially committed in
+	r8759 by Matthew Mundell.)
+
 2010-09-29  Michael Wiegand <michael.wiegand at greenbone.net>
 
 	* src/omp.c: Define two Greek characters that seem to be missing from

Modified: branches/openvas-manager-1-0/src/manage_sql.c
===================================================================
--- branches/openvas-manager-1-0/src/manage_sql.c	2010-10-07 07:42:58 UTC (rev 9176)
+++ branches/openvas-manager-1-0/src/manage_sql.c	2010-10-07 08:24:09 UTC (rev 9177)
@@ -6669,10 +6669,10 @@
   if (strchr (levels, 'd'))
     {
       if (count == 0)
-        levels_sql = g_string_new (" AND (new_type = 'Debug Message')");
+        levels_sql = g_string_new (" AND (new_type = 'Debug Message'");
       else
         levels_sql = g_string_append (levels_sql,
-                                      " OR new_type = 'Debug Message')");
+                                      " OR new_type = 'Debug Message'");
       count++;
     }
 



More information about the Openvas-commits mailing list