fetch in autodial mode fetches only one url per server
Max Kirillov <max630-JGs/[email protected]>
| Newsgroups | gmane.network.wwwoffle.user |
|---|---|
| Message-ID | <[email protected]> |
Hi! > When I invoke "$wwwoffle -fetch" while wwwoffle is in > autodial mode, the `max-fetch-servers` fetch processes > started. After each of them finished, it does not start > fetchinng another outgoing url. As a result, only > `max-fetch-servers` documents are fetched during one fetch > session. The desired behavior is fetching all documents that > are to be fetched. > The version in question is 2.8e. > I did not perform the full research yet, but I suspect that > the following patch will fix the bug. Please note that I did > not test it (yet)! I've applied the patch to my installation. Seems to fix the problem. -- Thanks for your attention Max.
max-1.diff
(text/plain, 393 B)
--- ./src/wwwoffled.c.orig 2005-05-15 00:04:13.000000000 +0700
+++ ./src/wwwoffled.c 2005-05-14 13:03:06.000000000 +0700
@@ -639,10 +639,10 @@
if(exitval==3)
fetching=0;
- if(exitval==4 && online==1)
+ if(exitval==4 && online!=0)
fetching=1;
- if(online!=1)
+ if(online==0)
fetching=0;
}