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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Feb 18 23:51:27 CET 2010


Author: mattm
Date: 2010-02-18 23:51:21 +0100 (Thu, 18 Feb 2010)
New Revision: 6785

Modified:
   trunk/openvas-manager/ChangeLog
   trunk/openvas-manager/src/omp.c
Log:
	* src/omp.c (buffer_results_xml): Sort notes most recent first.

Modified: trunk/openvas-manager/ChangeLog
===================================================================
--- trunk/openvas-manager/ChangeLog	2010-02-18 21:56:03 UTC (rev 6784)
+++ trunk/openvas-manager/ChangeLog	2010-02-18 22:51:21 UTC (rev 6785)
@@ -1,5 +1,9 @@
 2010-02-18  Matthew Mundell <matthew.mundell at intevation.de>
 
+	* src/omp.c (buffer_results_xml): Sort notes most recent first.
+
+2010-02-18  Matthew Mundell <matthew.mundell at intevation.de>
+
 	Add TASK to OMP GET_NOTES.
 
 	* src/omp.c (get_notes_data_t): Add task_id.

Modified: trunk/openvas-manager/src/omp.c
===================================================================
--- trunk/openvas-manager/src/omp.c	2010-02-18 21:56:03 UTC (rev 6784)
+++ trunk/openvas-manager/src/omp.c	2010-02-18 22:51:21 UTC (rev 6785)
@@ -4607,7 +4607,7 @@
                           0,
                           result_iterator_result (results),
                           task,
-                          1,
+                          0, /* Most recent first. */
                           "modification_time");
       buffer_notes_xml (buffer, &notes, include_notes_details);
       cleanup_iterator (&notes);



More information about the Openvas-commits mailing list