diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2021-07-21 11:21:24 +0200 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2021-07-21 11:21:24 +0200 |
commit | 57ac037347ce7a2bdc559ea33f35d15e57a1200f (patch) | |
tree | 7e801ef2f5e37e0eea8b08ac8419f724a6c59cf1 /TAO | |
parent | f8e095c8b1345f565b464c8e9b8557305f62fa00 (diff) | |
download | ATCD-57ac037347ce7a2bdc559ea33f35d15e57a1200f.tar.gz |
%C is for logging ascii strings
* TAO/tests/Param_Test/any.cpp:
* TAO/tests/Param_Test/except.cpp:
* TAO/tests/Param_Test/var_struct.cpp:
Diffstat (limited to 'TAO')
-rw-r--r-- | TAO/tests/Param_Test/any.cpp | 2 | ||||
-rw-r--r-- | TAO/tests/Param_Test/except.cpp | 2 | ||||
-rw-r--r-- | TAO/tests/Param_Test/var_struct.cpp | 24 |
3 files changed, 14 insertions, 14 deletions
diff --git a/TAO/tests/Param_Test/any.cpp b/TAO/tests/Param_Test/any.cpp index 3fd3c35123a..5b596b6eb96 100644 --- a/TAO/tests/Param_Test/any.cpp +++ b/TAO/tests/Param_Test/any.cpp @@ -130,7 +130,7 @@ Test_Any::reset_parameters (void) char *str = gen->gen_string (); if (TAO_debug_level > 0) - ACE_DEBUG ((LM_DEBUG, "setting string = %s\n", str)); + ACE_DEBUG ((LM_DEBUG, "setting string = %C\n", str)); this->in_ <<= str; this->inout_ <<= str; CORBA::string_free (str); diff --git a/TAO/tests/Param_Test/except.cpp b/TAO/tests/Param_Test/except.cpp index 451633b679e..f18ccba2219 100644 --- a/TAO/tests/Param_Test/except.cpp +++ b/TAO/tests/Param_Test/except.cpp @@ -272,7 +272,7 @@ Test_Exception::run_sii_test (Param_Test_ptr objref) ACE_DEBUG ((LM_DEBUG, "Test_Exception::run_sii_test - " "expected user exception" - " (%s,%d)\n", + " (%C,%d)\n", reason, mod_value)); } diff --git a/TAO/tests/Param_Test/var_struct.cpp b/TAO/tests/Param_Test/var_struct.cpp index 87ceee7b536..5ff52e1d467 100644 --- a/TAO/tests/Param_Test/var_struct.cpp +++ b/TAO/tests/Param_Test/var_struct.cpp @@ -187,10 +187,10 @@ Test_Var_Struct::print_values (void) { ACE_DEBUG ((LM_DEBUG, "\n*=*=*=*=*=*=*=*=*=*=\n" - "in_.dummy1 = %s\n" - "inout_.dummy1 = %s\n" - "out_.dummy1 = %s\n" - "ret_.dummy1 = %s\n", + "in_.dummy1 = %C\n" + "inout_.dummy1 = %C\n" + "out_.dummy1 = %C\n" + "ret_.dummy1 = %C\n", this->in_.dummy1.in (), this->inout_->dummy1.in (), this->out_->dummy1.in (), @@ -198,10 +198,10 @@ Test_Var_Struct::print_values (void) ACE_DEBUG ((LM_DEBUG, "\n*=*=*=*=*=*=*=*=*=*=\n" - "in_.dummy2 = %s\n" - "inout_.dummy2 = %s\n" - "out_.dummy2 = %s\n" - "ret_.dummy2 = %s\n", + "in_.dummy2 = %C\n" + "inout_.dummy2 = %C\n" + "out_.dummy2 = %C\n" + "ret_.dummy2 = %C\n", this->in_.dummy2.in (), this->inout_->dummy2.in (), this->out_->dummy2.in (), @@ -213,7 +213,7 @@ Test_Var_Struct::print_values (void) { ACE_DEBUG ((LM_DEBUG, "Element #%d\n" - "in.seq : %s\n", + "in.seq : %C\n", i, (this->in_.seq[i]? (const char *)this->in_.seq[i]:"<nul>"))); } @@ -222,7 +222,7 @@ Test_Var_Struct::print_values (void) { ACE_DEBUG ((LM_DEBUG, "Element #%d\n" - "inout : %s\n", + "inout : %C\n", i, (this->inout_->seq[i]? (const char *)this->inout_->seq[i]:"<nul>"))); } @@ -233,7 +233,7 @@ Test_Var_Struct::print_values (void) { ACE_DEBUG ((LM_DEBUG, "Element #%d\n" - "in : %s\n", + "in : %C\n", i, (this->out_->seq[i]? (const char *)this->out_->seq[i]:"<nul>"))); } @@ -244,7 +244,7 @@ Test_Var_Struct::print_values (void) { ACE_DEBUG ((LM_DEBUG, "Element #%d\n" - "in : %s\n", + "in : %C\n", i, (this->ret_->seq[i]? (const char *)this->ret_->seq[i]:"<nul>"))); } |