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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Sun Jun 6 18:56:44 CEST 2010


Author: mattm
Date: 2010-06-06 18:56:43 +0200 (Sun, 06 Jun 2010)
New Revision: 7941

Modified:
   trunk/openvas-manager/ChangeLog
   trunk/openvas-manager/src/omp.c
Log:
	* src/omp.c (omp_xml_handle_end_element): In CLIENT_MODIFY_TASK remove the
	`fail' declarations so that the existing variable is set.

Modified: trunk/openvas-manager/ChangeLog
===================================================================
--- trunk/openvas-manager/ChangeLog	2010-06-06 14:16:44 UTC (rev 7940)
+++ trunk/openvas-manager/ChangeLog	2010-06-06 16:56:43 UTC (rev 7941)
@@ -1,5 +1,10 @@
 2010-06-06  Matthew Mundell <matthew.mundell at greenbone.net>
 
+	* src/omp.c (omp_xml_handle_end_element): In CLIENT_MODIFY_TASK remove the
+	`fail' declarations so that the existing variable is set.
+
+2010-06-06  Matthew Mundell <matthew.mundell at greenbone.net>
+
 	Add escalator UUIDs.
 
 	* src/manage_sql.c (create_tables): Add column uuid to escalators.

Modified: trunk/openvas-manager/src/omp.c
===================================================================
--- trunk/openvas-manager/src/omp.c	2010-06-06 14:16:44 UTC (rev 7940)
+++ trunk/openvas-manager/src/omp.c	2010-06-06 16:56:43 UTC (rev 7941)
@@ -8921,7 +8921,6 @@
 
                 if (fail == 0 && modify_task_data->escalator_id)
                   {
-                    int fail;
                     escalator_t escalator = 0;
 
                     if (strcmp (modify_task_data->escalator_id, "") == 0)
@@ -8955,7 +8954,6 @@
 
                 if (fail == 0 && modify_task_data->schedule_id)
                   {
-                    int fail;
                     schedule_t schedule = 0;
 
                     if (strcmp (modify_task_data->schedule_id, "0") == 0)



More information about the Openvas-commits mailing list