[Openvas-commits] r6170 - in trunk/openvas-manager: . src
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Thu Dec 17 12:35:24 CET 2009
Author: mattm
Date: 2009-12-17 12:35:22 +0100 (Thu, 17 Dec 2009)
New Revision: 6170
Modified:
trunk/openvas-manager/ChangeLog
trunk/openvas-manager/src/omp.c
Log:
* src/omp.c (omp_xml_handle_end_element): In CLIENT_GET_STATUS send sort
information back with task list.
Modified: trunk/openvas-manager/ChangeLog
===================================================================
--- trunk/openvas-manager/ChangeLog 2009-12-17 11:13:48 UTC (rev 6169)
+++ trunk/openvas-manager/ChangeLog 2009-12-17 11:35:22 UTC (rev 6170)
@@ -1,3 +1,8 @@
+2009-12-17 Matthew Mundell <matthew.mundell at intevation.de>
+
+ * src/omp.c (omp_xml_handle_end_element): In CLIENT_GET_STATUS send sort
+ information back with task list.
+
2009-12-17 Felix Wolfsteller <felix.wolfsteller at intevation.de>
Revived VERSION file, as its present in other modules, too.
Modified: trunk/openvas-manager/src/omp.c
===================================================================
--- trunk/openvas-manager/src/omp.c 2009-12-17 11:13:48 UTC (rev 6169)
+++ trunk/openvas-manager/src/omp.c 2009-12-17 11:35:22 UTC (rev 6170)
@@ -6036,6 +6036,13 @@
}
g_free (response);
+ SENDF_TO_CLIENT_OR_FAIL
+ ("<sort>"
+ "<field>%s<order>%s</order></field>"
+ "</sort>",
+ current_format ? current_format : "ROWID",
+ current_int_2 ? "ascending" : "descending");
+
init_task_iterator (&iterator,
current_int_2, /* Attribute sort_order. */
current_format); /* Attribute sort_field. */
More information about the Openvas-commits
mailing list