Log message:
Fixed a bug that would crash the server anytime flush_connections() was
called with a 0 argument--boy do I feel dumb.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@340
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
2000-12-15 Kevin L. Mitchell <klmitch@mit.edu>
+ * ircd/send.c: got the direction of the assert incorrect...
+
* ircd/send.c: implement the efficiency of flush_connections by
creating a linked list of struct Connection's with queued data;
also get rid of flush_sendq_except and make sure to yank
else {
struct Connection* con;
for (con = send_queues; con; con = con_next(con)) {
- assert(0 > MsgQLength(&(con_sendQ(con))));
+ assert(0 < MsgQLength(&(con_sendQ(con))));
send_queued(con_client(con));
}
}