summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1998-09-07 01:35:43 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1998-09-07 01:35:43 +0000
commit7f9ee54cb088f0be61326b973cfca5ef9e1da7b0 (patch)
tree81cd821ddb85f97c458b554f7f2adaa8b948ee9f
parent12d95faf7de230f3396584b34c3c092248e52309 (diff)
downloadATCD-7f9ee54cb088f0be61326b973cfca5ef9e1da7b0.tar.gz
*** empty log message ***
-rw-r--r--TAO/tests/Simple/time/Client_i.cpp11
-rw-r--r--TAO/tests/Simple/time/README6
2 files changed, 9 insertions, 8 deletions
diff --git a/TAO/tests/Simple/time/Client_i.cpp b/TAO/tests/Simple/time/Client_i.cpp
index 3bc25b9f754..13a2faa4134 100644
--- a/TAO/tests/Simple/time/Client_i.cpp
+++ b/TAO/tests/Simple/time/Client_i.cpp
@@ -108,9 +108,12 @@ Client_i::time (void)
// Print out Value
char *ascii_timedate =
- ACE_OS::ctime (ACE_reinterpret_cast (time_t *, &timedate));
+ ACE_OS::ctime (ACE_reinterpret_cast (time_t *,
+ &timedate));
- ACE_DEBUG ((LM_DEBUG, "string time is %s\n", ascii_timedate));
+ ACE_DEBUG ((LM_DEBUG,
+ "string time is %s\n",
+ ascii_timedate));
}
TAO_CATCHANY
{
@@ -125,9 +128,7 @@ Client_i::time (void)
int
Client_i::run (void)
{
- u_int i;
-
- for (i = 0; i < this->loop_count_; i++)
+ for (u_int i = 0; i < this->loop_count_; i++)
{
this->time ();
ACE_OS::sleep (1);
diff --git a/TAO/tests/Simple/time/README b/TAO/tests/Simple/time/README
index faaf9382fd6..ded1ecd4fbc 100644
--- a/TAO/tests/Simple/time/README
+++ b/TAO/tests/Simple/time/README
@@ -1,8 +1,8 @@
$Id$
-This is a simple CORBA example that has an object (Time) with
-only two methods, one that returns the current time of day on a
-server and another that shuts down the server.
+This is a simple CORBA example that has an object (Time) with only two
+methods, one that returns the current time of day on a server and
+another that shuts down the server.
server:
-------