From 1e692e5890c2a5dedf4864f5522b148734851cde Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Fri, 24 Sep 2004 18:00:40 +0000 Subject: [PATCH] Fixed wrong variable names in output of "ngircd --configtest". --- ChangeLog | 3 ++- src/ngircd/conf.c | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index c68418a5..9e4e3a30 100644 --- a/ChangeLog +++ b/ChangeLog @@ -12,6 +12,7 @@ ngIRCd CVSHEAD + - Fixed wrong variable names in output of "ngircd --configtest". - Debian: Fxied the name of the "default file" in the init script for ngircd-full packages. And do the test if the binary is executable after reading this file. @@ -542,4 +543,4 @@ ngIRCd 0.0.1, 31.12.2001 -- -$Id: ChangeLog,v 1.241 2004/09/06 00:35:52 alex Exp $ +$Id: ChangeLog,v 1.242 2004/09/24 18:00:40 alex Exp $ diff --git a/src/ngircd/conf.c b/src/ngircd/conf.c index 1ea1fe74..c134cbe6 100644 --- a/src/ngircd/conf.c +++ b/src/ngircd/conf.c @@ -14,7 +14,7 @@ #include "portab.h" -static char UNUSED id[] = "$Id: conf.c,v 1.64 2004/05/07 11:19:21 alex Exp $"; +static char UNUSED id[] = "$Id: conf.c,v 1.65 2004/09/24 18:00:40 alex Exp $"; #include "imp.h" #include @@ -107,8 +107,8 @@ Conf_Test( VOID ) else puts( "Ok, dump of your server configuration follows:\n" ); puts( "[GLOBAL]" ); - printf( " ServerName = %s\n", Conf_ServerName ); - printf( " ServerInfo = %s\n", Conf_ServerInfo ); + printf( " Name = %s\n", Conf_ServerName ); + printf( " Info = %s\n", Conf_ServerInfo ); printf( " Password = %s\n", Conf_ServerPwd ); printf( " AdminInfo1 = %s\n", Conf_ServerAdmin1 ); printf( " AdminInfo2 = %s\n", Conf_ServerAdmin2 ); -- 2.39.2