Mercurial > noffle
diff src/noffle.c @ 218:411b6ab1acb7 noffle
[svn] *src/content.c,src/noffle.c: Correct bugfix in Conf_write().
Remove temporary file expiry, but skip temp files in
Cont_nextGrp().
author | bears |
---|---|
date | Thu, 22 Nov 2001 22:48:07 +0000 |
parents | beb6525f8b44 |
children | ffb1848a39db |
line wrap: on
line diff
--- a/src/noffle.c Thu Nov 22 22:25:12 2001 +0000 +++ b/src/noffle.c Thu Nov 22 22:48:07 2001 +0000 @@ -10,7 +10,7 @@ received for some seconds (to allow multiple clients connect at the same time). - $Id: noffle.c 333 2001-11-22 12:05:40Z mirkol $ + $Id: noffle.c 337 2001-11-22 22:48:07Z bears $ */ #if HAVE_CONFIG_H @@ -241,7 +241,6 @@ int i; int cntDel, cntLeft; Str grp; - Str tmpfname; Bool autoUnsubscribe; int autoUnsubscribeDays; time_t maxAge = 0; @@ -256,18 +255,7 @@ Fetchlist_read(); do { - /* delete tmpfnames. see content.c:Cont_write() */ - if ( Wld_match(grp, ".#[0123456789][0123456789]*.*" ) ) - { - if ( ( snprintf( tmpfname, MAXCHAR, "%s/overview/%s", \ - Cfg_spoolDir(), grp ) < 0 ) \ - || ( unlink( tmpfname ) < 0 ) ) - Log_err( "Unlink of overview temp file %s failed: %s", \ - grp, strerror( errno ) ); - else - Log_err( "Overview temp file %s deleted.", grp ); - } - else if ( ! Grp_exists( grp ) ) + if ( ! Grp_exists( grp ) ) Log_err( "Overview file for unknown group %s exists", grp ); else {