Replace C++-style comments with C-style comments
C90 does not recognize C++ style comments. Replace with C-style comments
for compatibility.
Jira: AXIS2C-1688
diff --git a/src/core/clientapi/svc_client.c b/src/core/clientapi/svc_client.c
index 65935d0..7d41c30 100644
--- a/src/core/clientapi/svc_client.c
+++ b/src/core/clientapi/svc_client.c
@@ -1295,7 +1295,7 @@
node = axiom_soap_body_get_base_node(soap_body, env);
if(node)
{
- //Get compatibility with anothers Web Services Frameworks, adjust payload with xmlns
+ /* Get compatibility with anothers Web Services Frameworks, adjust payload with xmlns */
axiom_element_t *element = (axiom_element_t*)axiom_node_get_data_element(node, env);
axiom_attribute_t *attXmlXsi = axiom_attribute_create(env, "xmlns:xsi", "http://www.w3.org/2001/XMLSchema-instance", NULL);
diff --git a/src/core/transport/http/common/http_worker.c b/src/core/transport/http/common/http_worker.c
index 7ce258a..0e8d232 100644
--- a/src/core/transport/http/common/http_worker.c
+++ b/src/core/transport/http/common/http_worker.c
@@ -1915,7 +1915,7 @@
axis2_char_t content_len_str[10];
axis2_http_header_t *content_len_hdr = NULL;
- //Adds more 2 to http content length to involve CR and LF chars
+ /* Adds more 2 to http content length to involve CR and LF chars */
content_length += 2;
sprintf(content_len_str, "%d", content_length);
diff --git a/util/src/stream.c b/util/src/stream.c
index 3592538..bdc4e03 100644
--- a/util/src/stream.c
+++ b/util/src/stream.c
@@ -104,7 +104,7 @@
{
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
- //avoid access violation / segment fault
+ /* avoid access violation / segment fault */
if (stream == NULL)
{
return;