[svn] Remove s_assert in del_unknown_ip() supposedly if the ip

cannot be found, it is not feasible to avoid that case
entirely with m_webirc.c.
This commit is contained in:
jilles 2007-05-18 12:14:18 -07:00
parent 54015b5fea
commit 8017ad2d27
3 changed files with 24 additions and 4 deletions

View File

@ -1,3 +1,24 @@
jilles 2007/05/14 22:21:16 UTC (20070514-3446)
Log:
Apply ratbox flood fix.
Changes: Modified:
+1 -0 trunk/doc/example.conf (File Modified)
+5 -0 trunk/doc/reference.conf (File Modified)
+3 -0 trunk/include/client.h (File Modified)
+4 -0 trunk/include/reject.h (File Modified)
+1 -0 trunk/include/s_conf.h (File Modified)
+2 -0 trunk/src/client.c (File Modified)
+3 -0 trunk/src/listener.c (File Modified)
+1 -0 trunk/src/newconf.c (File Modified)
+8 -5 trunk/src/packet.c (File Modified)
+59 -2 trunk/src/reject.c (File Modified)
+1 -0 trunk/src/s_conf.c (File Modified)
+2 -0 trunk/src/s_serv.c (File Modified)
+1 -0 trunk/src/s_user.c (File Modified)
nenolod 2007/05/09 00:32:08 UTC (20070509-3444)
Log:
- fix a bug here

View File

@ -1 +1 @@
#define SERNO "20070509-3444"
#define SERNO "20070514-3446"

View File

@ -20,7 +20,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA
*
* $Id: reject.c 3446 2007-05-14 22:21:16Z jilles $
* $Id: reject.c 3456 2007-05-18 19:14:18Z jilles $
*/
#include "stdinc.h"
@ -262,6 +262,5 @@ del_unknown_ip(struct Client *client_p)
patricia_remove(unknown_tree, pnode);
}
}
/* well..this shouldn't happen */
s_assert(0);
/* this can happen due to m_webirc.c's manipulations, for example */
}