repo: ngircd
action: commit
revision: 
path_from: 
revision_from: 9a009b24dad03af6c0d30172f542663cd8d11bcc:
path_to: 
revision_to: 
git.thebackupbox.net
ngircd
git clone git://git.thebackupbox.net/ngircd
commit 9a009b24dad03af6c0d30172f542663cd8d11bcc
Author: Alexander Barton 
Date:   Thu Jun 5 10:48:13 2003 +0000

    Fixed a compiler warning related to an unnecessary assert().

diff --git a/ChangeLog b/ChangeLog
index be75b453ef50558618b09bb7a4c501716eeb7e6a..
index ..0d32e1af89e70c94741082ffc546300388befd5d 100644
--- 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
index 046ff959857295634ad163df308f3b7449ba74f6..
index ..313dc456df6960de53553971fe96f0de4bdfb56b 100644
--- 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-----