[Openvas-commits] r12176 - in trunk/gsa: . src

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Nov 23 19:48:12 CET 2011


Author: mattm
Date: 2011-11-23 19:48:10 +0100 (Wed, 23 Nov 2011)
New Revision: 12176

Modified:
   trunk/gsa/ChangeLog
   trunk/gsa/src/gsad_omp.c
Log:
	* src/gsad_omp.c (get_result): Set both overrides OMP flags from the
	URL param, so that overrides only show when "apply overrides" is chosen.

Modified: trunk/gsa/ChangeLog
===================================================================
--- trunk/gsa/ChangeLog	2011-11-23 17:59:27 UTC (rev 12175)
+++ trunk/gsa/ChangeLog	2011-11-23 18:48:10 UTC (rev 12176)
@@ -1,5 +1,10 @@
 2011-11-23  Matthew Mundell <matthew.mundell at greenbone.net>
 
+	* src/gsad_omp.c (get_result): Set both overrides OMP flags from the
+	URL param, so that overrides only show when "apply overrides" is chosen.
+
+2011-11-23  Matthew Mundell <matthew.mundell at greenbone.net>
+
 	* src/gsad_omp.c (create_note_omp, save_note_omp): Pass active state
 	through.
 

Modified: trunk/gsa/src/gsad_omp.c
===================================================================
--- trunk/gsa/src/gsad_omp.c	2011-11-23 17:59:27 UTC (rev 12175)
+++ trunk/gsa/src/gsad_omp.c	2011-11-23 18:48:10 UTC (rev 12176)
@@ -8498,7 +8498,7 @@
                             " result_id=\"%s\""
                             " task_id=\"%s\""
                             " apply_overrides=\"%s\""
-                            " overrides=\"1\""
+                            " overrides=\"%s\""
                             " overrides_details=\"1\""
                             " notes=\"1\""
                             " notes_details=\"1\"/>"
@@ -8506,6 +8506,7 @@
                             commands ? commands : "",
                             result_id,
                             task_id,
+                            apply_overrides,
                             apply_overrides)
       == -1)
     {



More information about the Openvas-commits mailing list