diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2014-07-24 14:29:17 +0200 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2014-07-24 14:29:17 +0200 |
commit | 6e531b500b87c633f82fee085e0240c752cc8af0 (patch) | |
tree | 89e9214f550b24a9afa42e581b955e47ef501432 /src/crawl/crawl.cpp | |
parent | 53b6b08956e45975c95401b5e3db0bc6a65e4c59 (diff) | |
download | crawler-6e531b500b87c633f82fee085e0240c752cc8af0.tar.gz crawler-6e531b500b87c633f82fee085e0240c752cc8af0.tar.bz2 |
reading complete sitemap indexes and sitemaps
Diffstat (limited to 'src/crawl/crawl.cpp')
-rwxr-xr-x | src/crawl/crawl.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/crawl/crawl.cpp b/src/crawl/crawl.cpp index ae610a2..c5b893d 100755 --- a/src/crawl/crawl.cpp +++ b/src/crawl/crawl.cpp @@ -17,6 +17,7 @@ #ifndef _WIN32 #include <signal.h> +#include <unistd.h> #else #define WIN32_MEAN_AND_LEAN #endif @@ -231,10 +232,12 @@ int main( void ) sitemapParser->process( s ); } } + + sleep( 2 ); #else htmlParser->process( s ); #endif - + delete s; } |