You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-commits@axis.apache.org by bi...@apache.org on 2017/12/10 18:03:38 UTC
svn commit: r1817723 - in /axis/axis2/c/core/trunk:
src/core/clientapi/svc_client.c
src/core/transport/http/common/http_worker.c util/src/stream.c
Author: billblough
Date: Sun Dec 10 18:03:37 2017
New Revision: 1817723
URL: http://svn.apache.org/viewvc?rev=1817723&view=rev
Log:
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
Modified:
axis/axis2/c/core/trunk/src/core/clientapi/svc_client.c
axis/axis2/c/core/trunk/src/core/transport/http/common/http_worker.c
axis/axis2/c/core/trunk/util/src/stream.c
Modified: axis/axis2/c/core/trunk/src/core/clientapi/svc_client.c
URL: http://svn.apache.org/viewvc/axis/axis2/c/core/trunk/src/core/clientapi/svc_client.c?rev=1817723&r1=1817722&r2=1817723&view=diff
==============================================================================
--- axis/axis2/c/core/trunk/src/core/clientapi/svc_client.c (original)
+++ axis/axis2/c/core/trunk/src/core/clientapi/svc_client.c Sun Dec 10 18:03:37 2017
@@ -1295,7 +1295,7 @@ axis2_svc_client_fill_soap_envelope(
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);
Modified: axis/axis2/c/core/trunk/src/core/transport/http/common/http_worker.c
URL: http://svn.apache.org/viewvc/axis/axis2/c/core/trunk/src/core/transport/http/common/http_worker.c?rev=1817723&r1=1817722&r2=1817723&view=diff
==============================================================================
--- axis/axis2/c/core/trunk/src/core/transport/http/common/http_worker.c (original)
+++ axis/axis2/c/core/trunk/src/core/transport/http/common/http_worker.c Sun Dec 10 18:03:37 2017
@@ -1915,7 +1915,7 @@ axis2_http_worker_set_response_headers(
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);
Modified: axis/axis2/c/core/trunk/util/src/stream.c
URL: http://svn.apache.org/viewvc/axis/axis2/c/core/trunk/util/src/stream.c?rev=1817723&r1=1817722&r2=1817723&view=diff
==============================================================================
--- axis/axis2/c/core/trunk/util/src/stream.c (original)
+++ axis/axis2/c/core/trunk/util/src/stream.c Sun Dec 10 18:03:37 2017
@@ -104,7 +104,7 @@ axutil_stream_free(
{
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
- //avoid access violation / segment fault
+ /* avoid access violation / segment fault */
if (stream == NULL)
{
return;