changeset 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 bcd7f11b1504
children 20abd71918ad
files ChangeLog src/noffle.c
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sat Nov 29 23:42:33 2003 +0000
+++ b/ChangeLog	Sat Nov 29 23:53:31 2003 +0000
@@ -2,6 +2,8 @@
 
 * src/configfile.c: Brown paper bag problem. noffle-group config was setting
   the user config.
+* src/noffle.c: Security warning message about config file being globally
+  readable was missing a parameter.
 
 Fri Oct 31 2003 Martin Godisch <martin@godisch.de>
 
--- a/src/noffle.c	Sat Nov 29 23:42:33 2003 +0000
+++ b/src/noffle.c	Sat Nov 29 23:53:31 2003 +0000
@@ -10,7 +10,7 @@
   received for some seconds (to allow multiple clients connect at the same
   time).
 
-  $Id: noffle.c 606 2003-07-23 07:53:42Z bears $
+  $Id: noffle.c 621 2003-11-29 23:53:31Z bears $
 */
 
 #if HAVE_CONFIG_H
@@ -636,7 +636,7 @@
     if ( stat( confFile, &statBuf ) == 0 )
     {
 	if ( ( statBuf.st_mode & S_IROTH ) != 0 )
-	    Log_inf( "Security warning: %s is globally readable." );
+	    Log_inf( "Security warning: %s is globally readable.", confFile );
     }
     
     return TRUE;