Hi.
After losing another me-vs-fetchmail-who-is-faster game I
made myself to stop wwwoffle deleting downloaded files.
This is a result of my approach:
-------- begin --------------
--- wwwoffles.c.orig1 Sat Apr 7 00:32:19 2001
+++ wwwoffles.c Sat Apr 7 00:23:07 2001
@@ -1314,7 +1314,7 @@
}
else
{
- if(n<0 || err==-1)
+ /* if(n<0 || err==-1)
{
reply_head->status=503;
head=HeaderString(reply_head);
@@ -1322,7 +1322,7 @@
ftruncate(spool,0);
write_string(spool,head);
free(head);
- }
+ } */
if(spool_exists)
DeleteBackupWebpageSpoolFile(Url);
------ end -----------------
Just quick and dirty. In fact, I'm not sure the code I've
commented should be removed. I think it was inserted for a
case "if something goes wrong." In practice, the "something"
goes wrong too often to ignore this. I don't understand what
exactly.
Max.