summaryrefslogtreecommitdiff
path: root/ace/Get_Opt.cpp
diff options
context:
space:
mode:
authorgonzo <gonzo@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-06-10 07:33:55 +0000
committergonzo <gonzo@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-06-10 07:33:55 +0000
commitb1548a69b2dcd0455b198af029b49883d0937abe (patch)
treecbd17a5dffadf187dae53b850675c7f0567768a6 /ace/Get_Opt.cpp
parent4ea44ac88df971c5a6f2e0ee470ffc618bed9875 (diff)
downloadATCD-b1548a69b2dcd0455b198af029b49883d0937abe.tar.gz
Tests now run OK (most of them) with BCB3
Diffstat (limited to 'ace/Get_Opt.cpp')
-rw-r--r--ace/Get_Opt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ace/Get_Opt.cpp b/ace/Get_Opt.cpp
index cf72d8a5bc4..b009bc80bc7 100644
--- a/ace/Get_Opt.cpp
+++ b/ace/Get_Opt.cpp
@@ -109,7 +109,7 @@ ACE_Get_Opt::operator () (void)
opt = (int) *this->nextchar_++;
if (opt == (int) ':'
- || !(oli = ACE_OS::strchr (this->optstring_, opt)))
+ || ((oli = ACE_OS::strchr (this->optstring_, opt)) == 0))
{
// If the user didn't specify '-' as an option, assume it means
// EOF.