commit 9a009b24dad03af6c0d30172f542663cd8d11bcc from: Alexander Barton date: Thu Jun 05 10:48:13 2003 UTC Fixed a compiler warning related to an unnecessary assert(). commit - 83765a5a34a2a99ee867c03074206014b5619e6b commit + 9a009b24dad03af6c0d30172f542663cd8d11bcc blob - be75b453ef50558618b09bb7a4c501716eeb7e6a blob + 0d32e1af89e70c94741082ffc546300388befd5d --- ChangeLog +++ 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 $ blob - 046ff959857295634ad163df308f3b7449ba74f6 blob + 313dc456df6960de53553971fe96f0de4bdfb56b --- src/ngircd/ngircd.c +++ 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 ... */