diff options
author | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-06-22 04:35:55 +0000 |
---|---|---|
committer | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-06-22 04:35:55 +0000 |
commit | 10488cfa269f6858ba543fe9465b2b82366bfa9f (patch) | |
tree | 93c77f6e98ac87d49bef431c2d5906b75861e471 /websvcs | |
parent | bdb846618b856a1efdef51706e633e9b2f5e725d (diff) | |
download | ATCD-10488cfa269f6858ba543fe9465b2b82366bfa9f.tar.gz |
ChangeLogTag:Mon Jun 21 23:36:02 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
Diffstat (limited to 'websvcs')
-rw-r--r-- | websvcs/lib/URL_Addr.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/websvcs/lib/URL_Addr.cpp b/websvcs/lib/URL_Addr.cpp index 23de49c704b..da35bf38e2e 100644 --- a/websvcs/lib/URL_Addr.cpp +++ b/websvcs/lib/URL_Addr.cpp @@ -450,8 +450,7 @@ ACE_HTTP_Addr::string_to_addr (LPCTSTR address) LPCTSTR string = address; string += http_size; - ASYS_TCHAR separator[] = ASYS_TEXT("//"); - string += sizeof(separator)/sizeof(separator[0]) - 1; + string += 2; // == strlen ("//"); // Make a copy of the string to manipulate it. ACE_ALLOCATOR_RETURN (this->hostname_, ACE_OS::strdup (string), -1); @@ -721,8 +720,7 @@ ACE_FTP_Addr::string_to_addr (LPCTSTR address) LPCTSTR string = address; string += ftp_size; - ASYS_TCHAR separator[] = ASYS_TEXT("//"); - string += sizeof(separator)/sizeof(separator[0]) - 1; + string += 2; // == strlen ("//"); // Make a copy of the string to manipulate it. ASYS_TCHAR *t; |