summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>2001-01-28 01:35:59 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>2001-01-28 01:35:59 +0000
commit25a9bbe4297105431cf809f57cf464686e7bab47 (patch)
treea917b3cb763a7e55cf9f7c58780a32c82d623ad0 /tests
parent7de3989650ed76cf851590e0becca32a4e6a532c (diff)
downloadATCD-25a9bbe4297105431cf809f57cf464686e7bab47.tar.gz
ChangeLogTag:Sat Jan 27 19:34:20 2001 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
Diffstat (limited to 'tests')
-rw-r--r--tests/Config_Test.cpp6
-rw-r--r--tests/Config_Test.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/tests/Config_Test.cpp b/tests/Config_Test.cpp
index e0853545e5d..84270a8753a 100644
--- a/tests/Config_Test.cpp
+++ b/tests/Config_Test.cpp
@@ -480,7 +480,7 @@ Config_Test::get_section_integer (ACE_Configuration_Section_Key& SectionKey,
void
Config_Test::get_section_boolean (ACE_Configuration_Section_Key& SectionKey,
const ACE_TCHAR* pszName,
- bool* pVariable)
+ int* pVariable)
{
ACE_TString StringValue;
char pszString[10];
@@ -507,10 +507,10 @@ Config_Test::get_section_boolean (ACE_Configuration_Section_Key& SectionKey,
if (ACE_OS::strcmp (pszString,
"TRUE") == 0)
- *pVariable = true;
+ *pVariable = 1;
else if (ACE_OS::strcmp (pszString,
"FALSE") == 0)
- *pVariable = false;
+ *pVariable = 0;
}
}
diff --git a/tests/Config_Test.h b/tests/Config_Test.h
index ce7b57aa8a8..b12ba76ed4e 100644
--- a/tests/Config_Test.h
+++ b/tests/Config_Test.h
@@ -29,7 +29,7 @@ class Config_Test
ACE_Configuration_Heap m_ConfigurationHeap;
int m_nTimeToLive;
- bool m_bDelay;
+ int m_bDelay;
char m_pszDestIPAddress[TEST_MAX_STRING];
int m_nDestPort;
int m_nReconnectInterval;
@@ -57,7 +57,7 @@ private:
int nMaxValue);
void get_section_boolean (ACE_Configuration_Section_Key& SectionKey,
const ACE_TCHAR *pszName,
- bool *pVariable);
+ int *pVariable);
};
#endif /* __CONFIG_TEST_H */