Mercurial > noffle
comparison src/noffle.c @ 474:e63a3bc27a75 noffle
[svn] * src/noffle.c: Security warning message about config file being globally
readable was missing a parameter.
author | bears |
---|---|
date | Sat, 29 Nov 2003 23:53:31 +0000 |
parents | b540ecb6f218 |
children | 48be71391b9d |
comparison
equal
deleted
inserted
replaced
473:bcd7f11b1504 | 474:e63a3bc27a75 |
---|---|
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 606 2003-07-23 07:53:42Z bears $ | 13 $Id: noffle.c 621 2003-11-29 23:53:31Z bears $ |
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 |
634 | 634 |
635 Utl_cpyStr( confFile, CONFIGFILE ); | 635 Utl_cpyStr( confFile, CONFIGFILE ); |
636 if ( stat( confFile, &statBuf ) == 0 ) | 636 if ( stat( confFile, &statBuf ) == 0 ) |
637 { | 637 { |
638 if ( ( statBuf.st_mode & S_IROTH ) != 0 ) | 638 if ( ( statBuf.st_mode & S_IROTH ) != 0 ) |
639 Log_inf( "Security warning: %s is globally readable." ); | 639 Log_inf( "Security warning: %s is globally readable.", confFile ); |
640 } | 640 } |
641 | 641 |
642 return TRUE; | 642 return TRUE; |
643 } | 643 } |
644 | 644 |