diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 2012-02-28 03:31:32 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 2012-02-28 03:31:32 +0000 |
commit | f786f6a7a0dbe096e73ec66d8f08fafea891c8ac (patch) | |
tree | 5740a243f30bf2c05e8e8e339b7a67181eaced3f /ACE/protocols | |
parent | 184d1ba254803d17dcd3e0a12d6b9bd279f9b3d7 (diff) | |
download | ATCD-f786f6a7a0dbe096e73ec66d8f08fafea891c8ac.tar.gz |
ChangeLogTag:Tue
Diffstat (limited to 'ACE/protocols')
-rw-r--r-- | ACE/protocols/ace/INet/URLBase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ACE/protocols/ace/INet/URLBase.cpp b/ACE/protocols/ace/INet/URLBase.cpp index 9ba4641ead3..5ce88ca4d1c 100644 --- a/ACE/protocols/ace/INet/URLBase.cpp +++ b/ACE/protocols/ace/INet/URLBase.cpp @@ -202,7 +202,7 @@ namespace ACE // may get a url passed without the actual prefix ACE_CString::size_type pos = url_string.find (':'); - if (pos > 0 && url_string[pos+1] == '/' && url_string[pos+1] == '/') + if (pos > 0 && url_string[pos+1] == '/' && url_string[pos+2] == '/') { // in case we find a scheme check for the right protocol if (this->get_protocol () != url_string.substr (0, pos)) |