No release numbers
------------------
+ - Mon Jan 3 04:07:55 UTC 2000
+ - Fixed bug in aim_snac.c
+ - Fixed condition where commands read from connections that have
+ been closed were still left in the queue. Now cancelled.
+ - Added some printfs to aim_info to get more informative crahes
+
- Sun Jan 2 10:31:19 UTC 2000
- Cleanups in aim_info.c
- Can compile with -Ddebug=100 again
memset(sess->logininfo.cookie, 0x00, AIM_COOKIELEN);
sess->logininfo.email = NULL;
sess->logininfo.regstatus = 0x00;
-
+
for (i = 0; i < AIM_CONN_MAX; i++)
{
sess->conns[i].fd = -1;
workingPtr = sess->queue_incoming;
for (i = 0; workingPtr != NULL; i++)
{
+ /*
+ * XXX: This is still fairly ugly.
+ */
switch(workingPtr->conn->type)
{
+ case -1:
+ /*
+ * This can happen if we have a queued command
+ * that was recieved after a connection has
+ * been terminated. In which case, the handler
+ * list has been cleared, and there's nothing we
+ * can do for it. We can only cancel it.
+ */
+ workingPtr->handled = 1;
+ break;
case AIM_CONN_TYPE_AUTH:
{
u_long head;
}
break;
default:
- printf("\nAHHHHH! UNKNOWN CONNECTION TYPE! (0x%02x)\n\n", workingPtr->conn->type);
+ printf("\nAHHHHH! UNKNOWN CONNECTION TYPE! (type = %d, fd = %d, channel = %02x, commandlen = %02x)\n\n", workingPtr->conn->type, workingPtr->conn->fd, workingPtr->type, workingPtr->commandlen);
workingPtr->handled = aim_callhandler_noparam(sess, workingPtr->conn, AIM_CB_FAM_SPECIAL, AIM_CB_SPECIAL_UNKNOWN, workingPtr);
break;
}