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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Jun 17 23:41:40 CEST 2010


Author: mattm
Date: 2010-06-17 23:41:39 +0200 (Thu, 17 Jun 2010)
New Revision: 8073

Modified:
   trunk/gsa/ChangeLog
   trunk/gsa/src/gsad_omp.c
Log:
	* src/gsad_omp.c (edit_task, get_status, delete_report_omp): Request
	details when getting status with task.

Modified: trunk/gsa/ChangeLog
===================================================================
--- trunk/gsa/ChangeLog	2010-06-17 21:39:52 UTC (rev 8072)
+++ trunk/gsa/ChangeLog	2010-06-17 21:41:39 UTC (rev 8073)
@@ -1,5 +1,10 @@
 2010-06-17  Matthew Mundell <matthew.mundell at greenbone.net>
 
+	* src/gsad_omp.c (edit_task, get_status, delete_report_omp): Request
+	details when getting status with task.
+
+2010-06-17  Matthew Mundell <matthew.mundell at greenbone.net>
+
 	* src/html/omp.xsl (task_id, identifier): Remove.  Old templates.
 	(result-detailed): Ensure that new notes and overrides use the original
 	threat.

Modified: trunk/gsa/src/gsad_omp.c
===================================================================
--- trunk/gsa/src/gsad_omp.c	2010-06-17 21:39:52 UTC (rev 8072)
+++ trunk/gsa/src/gsad_omp.c	2010-06-17 21:41:39 UTC (rev 8073)
@@ -603,7 +603,7 @@
 
   if (openvas_server_sendf (&session,
                             "<commands>"
-                            "<get_status task_id=\"%s\" />"
+                            "<get_status task_id=\"%s\" details=\"1\" />"
                             "<get_targets"
                             " sort_field=\"name\""
                             " sort_order=\"ascending\"/>"
@@ -1152,7 +1152,7 @@
       if (openvas_server_sendf (&session,
                                 "<commands>"
                                 "%s"
-                                "<get_status task_id=\"%s\" />"
+                                "<get_status task_id=\"%s\" details=\"1\" />"
                                 "<get_notes"
                                 " sort_field=\"notes.nvt, notes.text\">"
                                 "<task id=\"%s\"/>"
@@ -4212,7 +4212,7 @@
   if (openvas_server_sendf (&session,
                             "<commands>"
                             "<delete_report report_id=\"%s\" />"
-                            "<get_status task_id=\"%s\" />"
+                            "<get_status task_id=\"%s\" details=\"1\" />"
                             "</commands>",
                             report_id,
                             task_id) == -1)



More information about the Openvas-commits mailing list