summaryrefslogtreecommitdiff
path: root/TAO/tao/params.cpp
diff options
context:
space:
mode:
authorelliott_c <ocielliottc@users.noreply.github.com>2003-06-17 11:55:59 +0000
committerelliott_c <ocielliottc@users.noreply.github.com>2003-06-17 11:55:59 +0000
commitdacf311fd0a066e3a8fa87747d384c9381fa7335 (patch)
tree93a231742a46a434facdece7b8891c0eca3fabd3 /TAO/tao/params.cpp
parent5e8db5e3a4e7568b618bf01a89ba4dd0c42530d8 (diff)
downloadATCD-dacf311fd0a066e3a8fa87747d384c9381fa7335.tar.gz
ChangeLogTag: Tue Jun 17 06:54:14 2003 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'TAO/tao/params.cpp')
-rw-r--r--TAO/tao/params.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/tao/params.cpp b/TAO/tao/params.cpp
index db5cf667fa7..efc299a3d71 100644
--- a/TAO/tao/params.cpp
+++ b/TAO/tao/params.cpp
@@ -87,7 +87,7 @@ TAO_ORB_Parameters::parse_endpoints (ACE_CString &endpoints,
continue;
}
- ACE_CString endpt = endpoints.substring (begin, end);
+ ACE_CString endpt = endpoints.substring (begin, end - begin);
// The substring call will work even if `end' is equal to
// ACE_CString::npos since that will just extract the substring
// from the offset `begin' to the end of the string.
@@ -104,7 +104,7 @@ TAO_ORB_Parameters::parse_endpoints (ACE_CString &endpoints,
else
status = -1; // Error: invalid URL style endpoint set
- begin += end + 1;
+ begin = end + 1;
end = endpoints.find (endpoints_delimiter, begin);
}
}