Ignore:
Timestamp:
2006-01-19T13:45:15Z (15 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
2fa825b
Parents:
92ad3d4
Message:

Fixed read() error handling in Jabber module.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/jabber.c

    r92ad3d4 re8f8b18  
    413413                if (jd->die)
    414414                        signoff(GJ_GC(gjc));
    415         } else if (len < 0 || errno != EAGAIN) {
     415        } else if (len == 0 || (len < 0 && (!sockerr_again() || gjc->ssl))) {
    416416                STATE_EVT(JCONN_STATE_OFF)
    417417        }
Note: See TracChangeset for help on using the changeset viewer.