diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2004-11-25 18:23:41 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2004-11-25 18:23:41 +0000 |
commit | 856977731725da5f1385efad72ea410987f6477a (patch) | |
tree | 447d68068bebe2527cd2a918798f4075a5ba70ca /websvcs | |
parent | c1e63aa9c2fc3ed6960dfe69ba3532d0be9e5669 (diff) | |
download | ATCD-856977731725da5f1385efad72ea410987f6477a.tar.gz |
ChangeLogTag: Thu Nov 25 18:23:12 UTC 2004 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'websvcs')
-rw-r--r-- | websvcs/tests/Test_URL_Addr.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/websvcs/tests/Test_URL_Addr.cpp b/websvcs/tests/Test_URL_Addr.cpp index 602d9375479..22389abcf69 100644 --- a/websvcs/tests/Test_URL_Addr.cpp +++ b/websvcs/tests/Test_URL_Addr.cpp @@ -10,7 +10,7 @@ void test_ftp_addr (void); void test_mailto_addr (void); void test_url_addr (void); -int main (int, char*[]) +int ACE_TMAIN (int, ACE_TCHAR*[]) { test_http_addr (); test_ftp_addr (); @@ -62,7 +62,7 @@ void test_http_addr (void) i, addresses[i])); continue; } - + ACE_TCHAR buffer[BUFSIZ]; if (addr.addr_to_string (buffer, BUFSIZ, i%2) == 0) { @@ -121,7 +121,7 @@ void test_ftp_addr (void) "FTP[%d]\n" " \"%s\" ERROR\n", i, addresses[i])); - + } } } @@ -162,7 +162,7 @@ void test_mailto_addr (void) "Mailto[%d]\n" " \"%s\" ERROR\n", i, addresses[i])); - + } } } @@ -178,7 +178,7 @@ void test_url_addr (void) static int naddresses = sizeof(addresses)/sizeof(addresses[0]); for (int i = 0; i < naddresses; ++i) { - ACE_URL_Addr* addr = + ACE_URL_Addr* addr = ACE_URL_Addr::create_address (addresses[i]); if (addr == 0) { |