comparison src/fetch.c @ 185:fed1334d766b noffle

[svn] * src/client.c: Change variable only used on constant to 'const'. * src/filter.c: Add a couple of 'return's after ASSERT() to remove compiler warnings about functions needing returns. * NEWS,TODO,configure,configure.in,noffle.conf.example,docs/NOTES, docs/noffle.conf.5,src/client.c,src/configfile.c,src/content.c, src/control.c,src/database.c,src/fetch.c,src/fetchlist.c,src/filter.c, src/group.c,src/lock.c,src/log.c,src/log.h,src/noffle.c,src/outgoing.c, src/post.c,src/protocol.c,src/request.c,src/server.c,src/util.c: Debug logging is always compiled and selected via noffle.conf. All debug logs are classified as all, none, config, control, expire, fetch, filter, newsbase, noffle, post, protocol, requests and server.
author bears
date Sun, 05 Aug 2001 09:24:22 +0100
parents 9854ea5f295f
children f1bacee93ca6
comparison
equal deleted inserted replaced
184:9854ea5f295f 185:fed1334d766b
1 /* 1 /*
2 fetch.c 2 fetch.c
3 3
4 $Id: fetch.c 297 2001-06-19 10:23:43Z mnalis $ 4 $Id: fetch.c 300 2001-08-05 08:24:22Z bears $
5 */ 5 */
6 6
7 #if HAVE_CONFIG_H 7 #if HAVE_CONFIG_H
8 #include <config.h> 8 #include <config.h>
9 #endif 9 #endif
207 const char *p; 207 const char *p;
208 int count = 0, artcnt = 0, artmax = 0; 208 int count = 0, artcnt = 0, artmax = 0;
209 Bool res; 209 Bool res;
210 210
211 ASSERT( fetch.ready ); 211 ASSERT( fetch.ready );
212 Log_dbg( "Retrieving articles marked for download" ); 212 Log_dbg( LOG_DBG_FETCH, "Retrieving articles marked for download" );
213 list = new_DynStr( 10000 ); 213 list = new_DynStr( 10000 );
214 fetchList = new_DynStr( 1000 ); 214 fetchList = new_DynStr( 1000 );
215 if ( list == NULL || fetchList == NULL ) 215 if ( list == NULL || fetchList == NULL )
216 { 216 {
217 if ( list != NULL ) 217 if ( list != NULL )