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)!

-----------------------------------
--- ./src/wwwoffled.c.orig    2005-05-13 09:54:56.000000000 +0700
+++ ./src/wwwoffled.c 2005-05-13 09:56:00.000000000 +0700
@@ -638,10 +638,10 @@
           if(exitval==3)
              fetching=0;
 
-          if(exitval==4 && online==1)
+          if(exitval==4 && online)
              fetching=1;
 
-          if(online!=1)
+          if(!online)
              fetching=0;
          }
 
--------------------------

-- 
Thanks for your attention!

Max

Reply via email to