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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Nov 7 08:07:50 CET 2011


Author: mattm
Date: 2011-11-07 08:07:44 +0100 (Mon, 07 Nov 2011)
New Revision: 12006

Modified:
   trunk/openvas-manager/ChangeLog
   trunk/openvas-manager/src/omp.c
Log:
	* src/omp.c (omp_xml_handle_end_element): Quote in attributes with single
	quotes because double quotes breaks the syntax.

Modified: trunk/openvas-manager/ChangeLog
===================================================================
--- trunk/openvas-manager/ChangeLog	2011-11-04 18:55:52 UTC (rev 12005)
+++ trunk/openvas-manager/ChangeLog	2011-11-07 07:07:44 UTC (rev 12006)
@@ -1,3 +1,8 @@
+2011-11-07  Matthew Mundell <matthew.mundell at greenbone.net>
+
+	* src/omp.c (omp_xml_handle_end_element): Quote in attributes with single
+	quotes because double quotes breaks the syntax.
+
 2011-11-04  Matthew Mundell <matthew.mundell at greenbone.net>
 
 	Add override end times.  Hence increase database version to 53.  Add

Modified: trunk/openvas-manager/src/omp.c
===================================================================
--- trunk/openvas-manager/src/omp.c	2011-11-04 18:55:52 UTC (rev 12005)
+++ trunk/openvas-manager/src/omp.c	2011-11-07 07:07:44 UTC (rev 12006)
@@ -15469,7 +15469,7 @@
             SEND_TO_CLIENT_OR_FAIL
              (XML_ERROR_SYNTAX ("get_agents",
                                 "GET_AGENTS format attribute should"
-                                " be \"installer\", \"howto_install\" or \"howto_use\"."));
+                                " be 'installer', 'howto_install' or 'howto_use'."));
           else if (get_agents_data->agent_id
                    && find_agent (get_agents_data->agent_id, &agent))
             SEND_TO_CLIENT_OR_FAIL (XML_INTERNAL_ERROR ("get_agents"));
@@ -16050,7 +16050,7 @@
             SEND_TO_CLIENT_OR_FAIL
              (XML_ERROR_SYNTAX ("get_lsc_credentials",
                                 "GET_LSC_CREDENTIALS format attribute should"
-                                " be \"key\", \"rpm\", \"deb\" or \"exe\"."));
+                                " be 'key', 'rpm', 'deb' or 'exe'."));
           else if (get_lsc_credentials_data->lsc_credential_id
                    && find_lsc_credential_for_actions
                        (get_lsc_credentials_data->lsc_credential_id,



More information about the Openvas-commits mailing list