Changeset 2fa825b


Ignore:
Timestamp:
2006-01-19T22:23:03Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
b8c2ace, fc50d48
Parents:
e8f8b18
Message:

Removed some very unpleasant check from the OSCAR code. (Caused
testing.bitlbee.org to get ... quite busy.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/oscar/rxqueue.c

    re8f8b18 r2fa825b  
    353353                return -1; /* its a aim_conn_close()'d connection */
    354354
    355         if (conn->fd < 3)  /* can happen when people abuse the interface */
     355        /* KIDS, THIS IS WHAT HAPPENS IF YOU USE CODE WRITTEN FOR GUIS IN A DAEMON!
     356           
     357           And wouldn't it make sense to return something that prevents this function
     358           from being called again IMMEDIATELY (and making the program suck up all
     359           CPU time)?...
     360           
     361        if (conn->fd < 3)
    356362                return 0;
     363        */
    357364
    358365        if (conn->status & AIM_CONN_STATUS_INPROGRESS)
Note: See TracChangeset for help on using the changeset viewer.