repo: ngircd action: commit revision: path_from: revision_from: 9a009b24dad03af6c0d30172f542663cd8d11bcc: path_to: revision_to:
commit 9a009b24dad03af6c0d30172f542663cd8d11bcc Author: Alexander BartonDate: Thu Jun 5 10:48:13 2003 +0000 Fixed a compiler warning related to an unnecessary assert(). diff --git a/ChangeLog b/ChangeLog
--- a/ChangeLog +++ b/ChangeLog @@ -14,6 +14,7 @@ ngIRCd CVS-HEAD - Made Makefile more compatible with "make -j". - Added support for GNU/Hurd. + - Fixed a compiler warning related to an unnecessary assert(). ngIRCd 0.7.0 (2003-05-01) - "ServerName" is checked better now: a dot (".") is required. @@ -452,4 +453,4 @@ ngIRCd 0.0.1, 31.12.2001 -- -$Id: ChangeLog,v 1.203 2003/05/05 00:33:32 alex Exp $ +$Id: ChangeLog,v 1.204 2003/06/05 10:48:13 alex Exp $ diff --git a/src/ngircd/ngircd.c b/src/ngircd/ngircd.c
--- a/src/ngircd/ngircd.c +++ b/src/ngircd/ngircd.c @@ -14,7 +14,7 @@ #include "portab.h" -static char UNUSED id[] = "$Id: ngircd.c,v 1.76 2003/03/31 15:54:21 alex Exp $"; +static char UNUSED id[] = "$Id: ngircd.c,v 1.77 2003/06/05 10:48:13 alex Exp $"; #include "imp.h" #include@@ -417,7 +417,9 @@ NGIRCd_Rehash( VOID ) Conn_ExitListeners( ); /* Alten Server-Namen merken */ +#ifdef DEBUG assert( sizeof( old_name ) == sizeof( Conf_ServerName )); +#endif strcpy( old_name, Conf_ServerName ); /* Konfiguration neu lesen ... */
-----END OF PAGE-----