when closing down connections.
ngIRCd CVSHEAD
+ - Fixed a wrong assert() which could cause the daemon to exit spuriously
+ when closing down connections.
- Better logging of decompression errors returned by zlib.
- Servers other than the destination server didn't clean up the invite
list of an "invite-only" channel properly when an INVITE'd user joined.
--
-$Id: ChangeLog,v 1.231 2004/04/25 13:55:34 alex Exp $
+$Id: ChangeLog,v 1.232 2004/04/25 14:06:11 alex Exp $
#include "portab.h"
-static char UNUSED id[] = "$Id: conn.c,v 1.133 2004/03/11 22:16:31 alex Exp $";
+static char UNUSED id[] = "$Id: conn.c,v 1.134 2004/04/25 14:06:12 alex Exp $";
#include "imp.h"
#include <assert.h>
#endif
assert( Idx > NONE );
- assert( My_Connections[Idx].sock > NONE );
/* Is this link already shutting down? */
if( My_Connections[Idx].options & CONN_ISCLOSING )
return;
}
+ assert( My_Connections[Idx].sock > NONE );
+
/* Mark link as "closing" */
My_Connections[Idx].options |= CONN_ISCLOSING;