summaryrefslogtreecommitdiff
path: root/ACE/websvcs
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2010-09-08 18:39:23 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2010-09-08 18:39:23 +0000
commitf896b003bd582d632ec64016ed6411e1b30b603f (patch)
treeb219a8bc3523797ef7e34a313198572599424fce /ACE/websvcs
parent4ac9f6f6b3a8774e5c2675b2a82736d6e5f54cc2 (diff)
downloadATCD-f896b003bd582d632ec64016ed6411e1b30b603f.tar.gz
Removed ACE_RCSID
Diffstat (limited to 'ACE/websvcs')
-rw-r--r--ACE/websvcs/lib/URL_Addr.cpp16
-rw-r--r--ACE/websvcs/tests/Test_URL_Addr.cpp2
2 files changed, 9 insertions, 9 deletions
diff --git a/ACE/websvcs/lib/URL_Addr.cpp b/ACE/websvcs/lib/URL_Addr.cpp
index 16de20b8ffb..47e210c7b19 100644
--- a/ACE/websvcs/lib/URL_Addr.cpp
+++ b/ACE/websvcs/lib/URL_Addr.cpp
@@ -10,7 +10,7 @@
#include "ace/OS_NS_strings.h"
#include "ace/OS_NS_stdio.h"
-ACE_RCSID(ace, URL_Addr, "$Id$")
+
static ACE_TCHAR http[] = ACE_TEXT ("http:");
static size_t http_size = sizeof(http)/sizeof(http[0]) - 1;
@@ -335,7 +335,7 @@ path_copy (const ACE_TCHAR *begin,
for (; *src != 0; ++src)
{
ACE_TCHAR c = *src;
-
+
switch (c)
{
case '/':
@@ -345,7 +345,7 @@ path_copy (const ACE_TCHAR *begin,
{
// No action.
}
-
+
src += 3;
}
else if (src[1] == '.' && src[2] == '/')
@@ -405,12 +405,12 @@ ACE_HTTP_Addr::create_relative_address (const ACE_TCHAR *url) const
{
// Remove any # from the path
ACE_TCHAR *p = target;
-
+
while (p != buf && *(--p) != '#')
{
// No action.
}
-
+
if (p != buf)
target = p;
}
@@ -421,7 +421,7 @@ ACE_HTTP_Addr::create_relative_address (const ACE_TCHAR *url) const
{
// No action.
}
-
+
// Go back if we begin with '../'
while ((url[0] == '.' && url[1] == '.' && url[2] == '/')
|| (url[0] == '.' && url[1] == '/'))
@@ -433,7 +433,7 @@ ACE_HTTP_Addr::create_relative_address (const ACE_TCHAR *url) const
{
// No action.
}
-
+
url += 3;
}
else
@@ -456,7 +456,7 @@ ACE_HTTP_Addr::create_relative_address (const ACE_TCHAR *url) const
0);
delete[] buf;
}
-
+
return addr;
}
diff --git a/ACE/websvcs/tests/Test_URL_Addr.cpp b/ACE/websvcs/tests/Test_URL_Addr.cpp
index 4f4e33d3cde..e8fbef2197c 100644
--- a/ACE/websvcs/tests/Test_URL_Addr.cpp
+++ b/ACE/websvcs/tests/Test_URL_Addr.cpp
@@ -3,7 +3,7 @@
#include "websvcs/lib/URL_Addr.h"
#include "ace/Log_Msg.h"
-ACE_RCSID(WEBSVCS_Test, Test_URL_Addr, "$Id$")
+
void test_http_addr (void);
void test_ftp_addr (void);