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

scm-commit at wald.intevation.org scm-commit at wald.intevation.org
Tue Mar 27 13:19:51 CEST 2012


Author: mattm
Date: 2012-03-27 13:19:51 +0200 (Tue, 27 Mar 2012)
New Revision: 13142

Modified:
   trunk/openvas-manager/ChangeLog
   trunk/openvas-manager/src/omp.c
Log:
	* src/omp.c (omp_xml_handle_text): Correct CLIENT_C_C_GCR_CONFIG_COMMENT
	variable name.  The was causing the comment of imported configs to come
	out empty.

Modified: trunk/openvas-manager/ChangeLog
===================================================================
--- trunk/openvas-manager/ChangeLog	2012-03-26 14:31:55 UTC (rev 13141)
+++ trunk/openvas-manager/ChangeLog	2012-03-27 11:19:51 UTC (rev 13142)
@@ -1,3 +1,9 @@
+2012-03-27  Matthew Mundell <matthew.mundell at greenbone.net>
+
+	* src/omp.c (omp_xml_handle_text): Correct CLIENT_C_C_GCR_CONFIG_COMMENT
+	variable name.  The was causing the comment of imported configs to come
+	out empty.
+
 2012-03-26  Jan-Oliver Wagner <jan-oliver.wagner at greenbone.net>
 
 	* CHANGES: Replaced leftover 2.0 description by 3.0 description.

Modified: trunk/openvas-manager/src/omp.c
===================================================================
--- trunk/openvas-manager/src/omp.c	2012-03-26 14:31:55 UTC (rev 13141)
+++ trunk/openvas-manager/src/omp.c	2012-03-27 11:19:51 UTC (rev 13142)
@@ -16281,7 +16281,7 @@
               &create_config_data->rcfile);
 
       APPEND (CLIENT_C_C_GCR_CONFIG_COMMENT,
-              &create_config_data->comment);
+              &import_config_data->comment);
 
       APPEND (CLIENT_C_C_GCR_CONFIG_NAME,
               &import_config_data->name);



More information about the Openvas-commits mailing list