Mercurial > noffle
comparison src/noffle.c @ 98:0428aed4f9d0 noffle
[svn] Always enable core files.
author | enz |
---|---|
date | Sat, 20 May 2000 15:11:21 +0100 |
parents | 1fcdced0246e |
children | 38b0a1532a37 |
comparison
equal
deleted
inserted
replaced
97:694c264a1b15 | 98:0428aed4f9d0 |
---|---|
8 not as server. If noffle runs as server, locking is performed while | 8 not as server. If noffle runs as server, locking is performed while |
9 executing NNTP commands, but temporarily released if no new command is | 9 executing NNTP commands, but temporarily released if no new command is |
10 received for some seconds (to allow multiple clients connect at the same | 10 received for some seconds (to allow multiple clients connect at the same |
11 time). | 11 time). |
12 | 12 |
13 $Id: noffle.c 100 2000-05-18 12:17:23Z bears $ | 13 $Id: noffle.c 119 2000-05-20 14:11:21Z enz $ |
14 */ | 14 */ |
15 | 15 |
16 #if HAVE_CONFIG_H | 16 #if HAVE_CONFIG_H |
17 #include <config.h> | 17 #include <config.h> |
18 #endif | 18 #endif |
576 Log_init( "noffle", interactive, LOG_NEWS ); | 576 Log_init( "noffle", interactive, LOG_NEWS ); |
577 Cfg_read(); | 577 Cfg_read(); |
578 Log_dbg( "NOFFLE version %s", Cfg_version() ); | 578 Log_dbg( "NOFFLE version %s", Cfg_version() ); |
579 noffle.interactive = interactive; | 579 noffle.interactive = interactive; |
580 if ( interactive ) | 580 if ( interactive ) |
581 if ( ! Lock_openDatabases() ) | 581 if ( ! Lock_openDatabases() ) |
582 return FALSE; | 582 return FALSE; |
583 if ( ! interactive ) | 583 enableCorefiles(); |
584 enableCorefiles(); | |
585 return TRUE; | 584 return TRUE; |
586 } | 585 } |
587 | 586 |
588 static void | 587 static void |
589 closeNoffle( void ) | 588 closeNoffle( void ) |