# HG changeset patch
# User bears
# Date 1070150011 0
# Node ID e63a3bc27a75943f546b5404d65685ce9d2a4eb5
# Parent  bcd7f11b15040570fb38e2d142a695e1b99e0242
[svn] * src/noffle.c: Security warning message about config file being globally
  readable was missing a parameter.

diff -r bcd7f11b1504 -r e63a3bc27a75 ChangeLog
--- 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>
 
diff -r bcd7f11b1504 -r e63a3bc27a75 src/noffle.c
--- 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;