summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-06-22 04:35:55 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-06-22 04:35:55 +0000
commit10488cfa269f6858ba543fe9465b2b82366bfa9f (patch)
tree93c77f6e98ac87d49bef431c2d5906b75861e471
parentbdb846618b856a1efdef51706e633e9b2f5e725d (diff)
downloadATCD-10488cfa269f6858ba543fe9465b2b82366bfa9f.tar.gz
ChangeLogTag:Mon Jun 21 23:36:02 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
-rw-r--r--ChangeLog-99b5
-rw-r--r--websvcs/lib/URL_Addr.cpp6
2 files changed, 7 insertions, 4 deletions
diff --git a/ChangeLog-99b b/ChangeLog-99b
index e082b70a3e9..c761f35f213 100644
--- a/ChangeLog-99b
+++ b/ChangeLog-99b
@@ -1,3 +1,8 @@
+Mon Jun 21 23:36:02 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
+
+ * websvcs/lib/URL_Addr.cpp:
+ Fixed warnings about unused variables.
+
Mon Jun 21 23:27:01 1999 Darrell Brunsch <brunsch@cs.wustl.edu>
* ace/SString.h: Added ACE_TString typdef that is either a
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;