Changeset d52111a for protocols


Ignore:
Timestamp:
2007-12-12T21:36:33Z (16 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
30ce1ce
Parents:
0f47613
Message:

Fixed sockerr_again() usage in Jabber module to (hopefully) fix a 100% CPU
usage bug.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/io.c

    r0f47613 rd52111a  
    120120                return TRUE;
    121121        }
    122         else if( st == 0 || ( st < 0 && !sockerr_again() ) )
     122        else if( st == 0 || ( st < 0 && !ssl_sockerr_again( jd->ssl ) ) )
    123123        {
    124124                /* Set fd to -1 to make sure we won't write to it anymore. */
     
    231231                }
    232232        }
    233         else if( st == 0 || ( st < 0 && !sockerr_again() ) )
     233        else if( st == 0 || ( st < 0 && !ssl_sockerr_again( jd->ssl ) ) )
    234234        {
    235235                closesocket( jd->fd );
Note: See TracChangeset for help on using the changeset viewer.