summaryrefslogtreecommitdiff
path: root/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
commit1e9bfa871fee25a68294673af95a80df72d4a6e1 (patch)
tree265632123faeec5d55972e18e94b8bb05e60d411 /TAO
parent34c67d004cbbcfd9a227ec4a99777cbac98ff7c9 (diff)
downloadATCD-1e9bfa871fee25a68294673af95a80df72d4a6e1.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')
-rw-r--r--TAO/ChangeLog7
-rw-r--r--TAO/tao/IIOP_Acceptor.cpp2
2 files changed, 8 insertions, 1 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog
index 9d3f3a63d85..c8d3668c3eb 100644
--- a/TAO/ChangeLog
+++ b/TAO/ChangeLog
@@ -1,3 +1,10 @@
+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.
+
Tue Jul 18 14:21:12 UTC 2006 Johnny Willemsen <jwillemsen@remedy.nl>
* orbsvcs/orbsvcs/HTIOP.mpc:
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;
}