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

scm-commit at wald.intevation.org scm-commit at wald.intevation.org
Wed Apr 4 09:59:51 CEST 2012


Author: mattm
Date: 2012-04-04 09:59:51 +0200 (Wed, 04 Apr 2012)
New Revision: 13198

Modified:
   trunk/gsa/ChangeLog
   trunk/gsa/src/gsad_omp.c
Log:
	* src/gsad_omp.c (get_targets_omp): Make max -1 if it fails instead of 10,
	so that it is possible to get all targets.

Modified: trunk/gsa/ChangeLog
===================================================================
--- trunk/gsa/ChangeLog	2012-04-04 07:58:36 UTC (rev 13197)
+++ trunk/gsa/ChangeLog	2012-04-04 07:59:51 UTC (rev 13198)
@@ -1,3 +1,8 @@
+2012-04-04  Matthew Mundell <matthew.mundell at greenbone.net>
+
+	* src/gsad_omp.c (get_targets_omp): Make max -1 if it fails instead of 10,
+	so that it is possible to get all targets.
+
 2012-04-02  Matthew Mundell <matthew.mundell at greenbone.net>
 
 	* src/html/omp.xsl (target [details]): Remove Targets link.  Superseded by

Modified: trunk/gsa/src/gsad_omp.c
===================================================================
--- trunk/gsa/src/gsad_omp.c	2012-04-04 07:58:36 UTC (rev 13197)
+++ trunk/gsa/src/gsad_omp.c	2012-04-04 07:59:51 UTC (rev 13198)
@@ -5764,7 +5764,7 @@
                                 " sort_order=\"%s\"/>",
                                 filter ? filter : "",
                                 first ? first : "1",
-                                max ? max : "10",
+                                max ? max : "-1",
                                 sort_field ? sort_field : "name",
                                 sort_order ? sort_order : "ascending")
       == -1)



More information about the Openvas-commits mailing list