[Openvas-commits] r11664 - in trunk/openvas-manager: . src
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Thu Sep 22 17:03:37 CEST 2011
Author: hdoreau
Date: 2011-09-22 17:03:35 +0200 (Thu, 22 Sep 2011)
New Revision: 11664
Modified:
trunk/openvas-manager/ChangeLog
trunk/openvas-manager/src/omp.c
Log:
* src/omp.c (omp_xml_handle_end_element): Removed superfluous check,
the variable cannot be NULL there.
Modified: trunk/openvas-manager/ChangeLog
===================================================================
--- trunk/openvas-manager/ChangeLog 2011-09-22 15:00:43 UTC (rev 11663)
+++ trunk/openvas-manager/ChangeLog 2011-09-22 15:03:35 UTC (rev 11664)
@@ -1,5 +1,10 @@
2011-09-22 Henri Doreau <henri.doreau at greenbone.net>
+ * src/omp.c (omp_xml_handle_end_element): Removed superfluous check,
+ the variable cannot be NULL there.
+
+2011-09-22 Henri Doreau <henri.doreau at greenbone.net>
+
* src/omp.c (omp_xml_handle_end_element): Removed a bogus ">" in
get_info_responses.
Modified: trunk/openvas-manager/src/omp.c
===================================================================
--- trunk/openvas-manager/src/omp.c 2011-09-22 15:00:43 UTC (rev 11663)
+++ trunk/openvas-manager/src/omp.c 2011-09-22 15:03:35 UTC (rev 11664)
@@ -17373,7 +17373,7 @@
SEND_TO_CLIENT_OR_FAIL ("<get_info_response"
" status=\"" STATUS_OK "\""
" status_text=\"" STATUS_OK_TEXT "\">");
- SEND_TO_CLIENT_OR_FAIL (result ? result : "");
+ SEND_TO_CLIENT_OR_FAIL (result);
SEND_TO_CLIENT_OR_FAIL ("</get_info_response>");
g_free (result);
More information about the Openvas-commits
mailing list