mirror of
https://github.com/osmarks/ngircd.git
synced 2025-01-20 20:36:53 +00:00
Fixed a compiler warning related to an unnecessary assert().
This commit is contained in:
parent
83765a5a34
commit
9a009b24da
@ -14,6 +14,7 @@ ngIRCd CVS-HEAD
|
||||
|
||||
- Made Makefile more compatible with "make -j<n>".
|
||||
- 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 $
|
||||
|
@ -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 <assert.h>
|
||||
@ -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 ... */
|
||||
|
Loading…
Reference in New Issue
Block a user