[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [leafnode-list] temp.files not being deleted for local groups?
Robert <robert@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> writes:
> Tested with version 2.0.0.alpha20021229a
>
> If I post a message to a local group the temporary file (in the form
> 3353-1043248476-1) in /var/spool/news/temp.files doesn't appear to get
> deleted
>
> When I eventually spotted it, I had 6000 files in that directory dating
> back to June 2002, my news spool is now considerably happier!
My bad.
Does this fix remedy the problem without losing local posts?
Index: nntpd.c
===================================================================
RCS file: /var/CVS/leafnode-2/nntpd.c,v
retrieving revision 1.112
diff -u -r1.112 nntpd.c
--- nntpd.c~ 23 Oct 2002 15:55:45 -0000 1.112
+++ nntpd.c 27 Jan 2003 03:49:38 -0000
@@ -1629,7 +1629,9 @@
log_unlink(mastr_str(outgoingname), 0);
goto unlink_cleanup;
}
- } else {
+ }
+
+ if (no_direct_spool) {
/* remove message.id link so fetchnews can download the
* posting */
log_unlink(lookup(mid), 0);
--
Matthias Andree
leafnode-1 download: http://sourceforge.net/projects/leafnode/
leafnode-1 docs/new: http://mandree.home.pages.de/leafnode/
leafnode-2 homepage: http://mandree.home.pages.de/leafnode/beta/
--
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list