summaryrefslogtreecommitdiff
path: root/TAO/tao
diff options
context:
space:
mode:
authorjohn_c <john_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2006-07-18 21:40:28 +0000
committerjohn_c <john_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2006-07-18 21:40:28 +0000
commit286399d3900e5099d4c1f36734393b2d9476a5c2 (patch)
tree265632123faeec5d55972e18e94b8bb05e60d411 /TAO/tao
parent0ae7dcddc227d79cf22e577eeaf7ddebf167eeb3 (diff)
downloadATCD-286399d3900e5099d4c1f36734393b2d9476a5c2.tar.gz
Tue Jul 18 21:38:55 UTC 2006 Ciju John <johnc@ociweb.com>
* tao/IIOP_Acceptor.cpp: substring() 2nd parameter is supposed to be the relative length, not the absolute position as before.
Diffstat (limited to 'TAO/tao')
-rw-r--r--TAO/tao/IIOP_Acceptor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/TAO/tao/IIOP_Acceptor.cpp b/TAO/tao/IIOP_Acceptor.cpp
index 4273ca254a2..508aa5158af 100644
--- a/TAO/tao/IIOP_Acceptor.cpp
+++ b/TAO/tao/IIOP_Acceptor.cpp
@@ -1107,7 +1107,7 @@ TAO_IIOP_Acceptor::parse_options (const char *str)
}
else if (end != options.npos)
{
- argv_base[j] = options.substring (begin, end);
+ argv_base[j] = options.substring (begin, end - begin);
argv[j] = &argv_base[j];
begin = end + 1;
}