summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/EC_Mcast
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2008-08-06 19:15:30 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2008-08-06 19:15:30 +0000
commitc4575eca0a41e149a1bcbb20ac891a3ccddc3fa4 (patch)
tree63c6cb3b02032eb01e29268e38fa1d15f74281ae /TAO/orbsvcs/tests/EC_Mcast
parente2ba1e2261cf3e44602bd3f7ce12766283828bb2 (diff)
downloadATCD-c4575eca0a41e149a1bcbb20ac891a3ccddc3fa4.tar.gz
ChangeLogTag: Wed Aug 6 19:08:39 UTC 2008 Jeff Parsons <j.parsons@vanderbilt.edu>
Diffstat (limited to 'TAO/orbsvcs/tests/EC_Mcast')
-rw-r--r--TAO/orbsvcs/tests/EC_Mcast/EC_Mcast.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/TAO/orbsvcs/tests/EC_Mcast/EC_Mcast.cpp b/TAO/orbsvcs/tests/EC_Mcast/EC_Mcast.cpp
index 99a1a9eae9c..7a14b21efb8 100644
--- a/TAO/orbsvcs/tests/EC_Mcast/EC_Mcast.cpp
+++ b/TAO/orbsvcs/tests/EC_Mcast/EC_Mcast.cpp
@@ -521,7 +521,11 @@ ECM_Driver::skip_blanks (FILE* file,
{
int c;
// Consume all the blanks.
- while (ACE_OS::ace_isspace (c = ACE_OS::fgetc (file)));
+ while (ACE_OS::ace_isspace (c = ACE_OS::fgetc (file)))
+ {
+ // No action.
+ }
+
if (c == EOF)
{
ACE_ERROR_RETURN ((LM_ERROR,
@@ -529,6 +533,7 @@ ECM_Driver::skip_blanks (FILE* file,
error_msg),
-1);
}
+
ACE_OS::ungetc (c, file);
return 0;
}