diff options
Diffstat (limited to 'ACE/examples/Web_Crawler/Web_Crawler.cpp')
-rw-r--r-- | ACE/examples/Web_Crawler/Web_Crawler.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ACE/examples/Web_Crawler/Web_Crawler.cpp b/ACE/examples/Web_Crawler/Web_Crawler.cpp index 16639a38d73..a0913290ae4 100644 --- a/ACE/examples/Web_Crawler/Web_Crawler.cpp +++ b/ACE/examples/Web_Crawler/Web_Crawler.cpp @@ -4,7 +4,7 @@ #include "URL_Visitor_Factory.h" #include "Web_Crawler.h" -ACE_RCSID(Web_Crawler, Web_Crawler, "$Id$") + Web_Crawler::~Web_Crawler (void) { @@ -34,7 +34,7 @@ Web_Crawler::open (int argc, ACE_TCHAR *argv[]) int Web_Crawler::run (void) -{ +{ // Make the appropriate <URL_Visitor>. Auto_Destroyer<URL_Visitor> visitor (this->url_visitor_factory_->make_visitor ()); @@ -67,25 +67,25 @@ Web_Crawler::run (void) OPTIONS::instance()->port_no ()), //KIRTHIKA 0); Auto_Destroyer<ACE_URL_Addr> url_addr_ptr (url_addr); - + HTTP_URL *http_url; ACE_NEW_RETURN (http_url, HTTP_URL (**url_addr_ptr), 0); Auto_Destroyer<HTTP_URL> http_url_ptr (http_url); - + URL_Command *url_command; ACE_NEW_RETURN (url_command, URL_Command (*http_url_ptr), 0); // Auto_Destroyer<URL_Command> url_command_ptr (url_command); - + if (cp->insert (url_command) != 0) ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "insert"), -1); - + if (cp->execute () != 0) ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "execute"), |