From 19fddb754fccbf6c85db7bca6ec871694606a32b Mon Sep 17 00:00:00 2001 From: Johnny Willemsen Date: Wed, 23 Jan 2019 12:27:13 +0100 Subject: Fixed typo in logging * TAO/tao/Transport.cpp: --- TAO/tao/Transport.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/TAO/tao/Transport.cpp b/TAO/tao/Transport.cpp index 9792cd3ab69..a20952ed860 100644 --- a/TAO/tao/Transport.cpp +++ b/TAO/tao/Transport.cpp @@ -1530,8 +1530,8 @@ TAO_Transport::send_asynchronous_message_i (TAO_Stub *stub, timeout_encountered = true; if (byte_count == 0) { - //This request has timed out and none of it was sent to the transport - //We can't return -1 here, since that would end up closing the tranpsort + // This request has timed out and none of it was sent to the transport + // We can't return -1 here, since that would end up closing the transport if (TAO_debug_level > 2) { TAOLIB_DEBUG ((LM_DEBUG, @@ -1660,8 +1660,8 @@ TAO_Transport::send_asynchronous_message_i (TAO_Stub *stub, { if (sent_byte == sent_byte_count_) // if nothing was actually flushed { - //This request has timed out and none of it was sent to the transport - //We can't return -1 here, since that would end up closing the tranpsort + // This request has timed out and none of it was sent to the transport + // We can't return -1 here, since that would end up closing the transport if (TAO_debug_level > 2) { TAOLIB_DEBUG ((LM_DEBUG, -- cgit v1.2.1 From fe8227ca130cce43657dcdcca667dd5fc0ab0da3 Mon Sep 17 00:00:00 2001 From: Johnny Willemsen Date: Wed, 23 Jan 2019 12:27:31 +0100 Subject: Add <> around tag value when logging * TAO/tao/Connector_Registry.cpp: --- TAO/tao/Connector_Registry.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TAO/tao/Connector_Registry.cpp b/TAO/tao/Connector_Registry.cpp index 99c57a9add1..9df7f6418fc 100644 --- a/TAO/tao/Connector_Registry.cpp +++ b/TAO/tao/Connector_Registry.cpp @@ -184,7 +184,7 @@ TAO_Connector_Registry::create_profile (TAO_InputCDR &cdr) { TAOLIB_DEBUG ((LM_DEBUG, ACE_TEXT ("TAO (%P|%t) - TAO_Connector_Registry::") - ACE_TEXT ("create_profile: Unknown profile tag 0x%x\n"), + ACE_TEXT ("create_profile: Unknown profile tag <0x%x>\n"), tag)); } @@ -252,7 +252,7 @@ TAO_Connector_Registry::create_profile (TAO_InputCDR &cdr) { TAOLIB_ERROR ((LM_ERROR, ACE_TEXT ("TAO (%P|%t) - TAO_Connector_Registry::") - ACE_TEXT ("create_profile: Connector returned null profile for tag 0x%x\n"), tag)); + ACE_TEXT ("create_profile: Connector returned null profile for tag <0x%x>\n"), tag)); } return profile; -- cgit v1.2.1 From 8042beae2214ee193143a0cfe91d5089c9169892 Mon Sep 17 00:00:00 2001 From: Johnny Willemsen Date: Wed, 23 Jan 2019 16:49:52 +0100 Subject: Const change * TAO/tao/Transport.cpp: --- TAO/tao/Transport.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TAO/tao/Transport.cpp b/TAO/tao/Transport.cpp index 9792cd3ab69..7f777e38e4d 100644 --- a/TAO/tao/Transport.cpp +++ b/TAO/tao/Transport.cpp @@ -1645,7 +1645,7 @@ TAO_Transport::send_asynchronous_message_i (TAO_Stub *stub, this->id ())); } - size_t sent_byte = sent_byte_count_; + size_t const sent_byte = sent_byte_count_; int ret = 0; { typedef ACE_Reverse_Lock TAO_REVERSE_LOCK; -- cgit v1.2.1 From f52ebbaaaf92f2384125be0ac64f70ef02792145 Mon Sep 17 00:00:00 2001 From: Johnny Willemsen Date: Wed, 23 Jan 2019 16:50:06 +0100 Subject: Fixed typo * TAO/tests/Oneway_Timeouts/client.cpp: --- TAO/tests/Oneway_Timeouts/client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TAO/tests/Oneway_Timeouts/client.cpp b/TAO/tests/Oneway_Timeouts/client.cpp index 52f7a79c751..0dc112bb20b 100644 --- a/TAO/tests/Oneway_Timeouts/client.cpp +++ b/TAO/tests/Oneway_Timeouts/client.cpp @@ -369,7 +369,7 @@ int ACE_TMAIN (int ac, ACE_TCHAR *av[]) // can connect immediately and some may take longer time. With the flag on, // the test sets the SYNC_NONE scope and sends a request so the transport // queue is not empty for some SYNC_DELAYED_BUFFERING test case and hence - // the requests are all queued and will be received by server continueously + // the requests are all queued and will be received by server continuously // during a short period. if (make_request_queued) { -- cgit v1.2.1