diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2007-05-14 10:22:18 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2007-05-14 10:22:18 +0000 |
commit | 3ac4732c893b14a04c80df3b1193824e7c050695 (patch) | |
tree | 1303b22946e18aea4b802ac04fa26e3eb8ae6922 /TAO/tao/Strategies/UIOP_Acceptor.cpp | |
parent | 537c21f877db4a432c6d8b1b6df125c97fa752bd (diff) | |
download | ATCD-3ac4732c893b14a04c80df3b1193824e7c050695.tar.gz |
Mon May 14 10:21:12 UTC 2007 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/tao/Strategies/UIOP_Acceptor.cpp')
-rw-r--r-- | TAO/tao/Strategies/UIOP_Acceptor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/tao/Strategies/UIOP_Acceptor.cpp b/TAO/tao/Strategies/UIOP_Acceptor.cpp index 790094e03a1..d668a3ee78a 100644 --- a/TAO/tao/Strategies/UIOP_Acceptor.cpp +++ b/TAO/tao/Strategies/UIOP_Acceptor.cpp @@ -454,6 +454,8 @@ TAO_UIOP_Acceptor::parse_options (const char *str) const ACE_CString name (opt.substring (0, slot)); ACE_CString value = opt.substring (slot + 1); + begin = end + 1; + if (name.length () == 0) ACE_ERROR_RETURN ((LM_ERROR, "TAO (%P|%t) Zero length UIOP " @@ -472,8 +474,6 @@ TAO_UIOP_Acceptor::parse_options (const char *str) "TAO (%P|%t) Invalid UIOP option: <%s>\n", name.c_str ()), -1); - - begin = end + 1; } else break; // No other options. |