Changeset 1017


Ignore:
Timestamp:
Feb 28, 2007 3:36:19 PM (18 years ago)
Author:
bennylp
Message:

Fixed ticket #145: pj_ioqueue_poll() blocks forever because of invalid timeout value (thanks Igor S)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip/sip_endpoint.c

    r974 r1017  
    685685     */ 
    686686    pj_assert(timeout.sec >= 0 && timeout.msec >= 0); 
     687    if (timeout.msec >= 1000) timeout.msec = 999; 
    687688 
    688689    /* If caller specifies maximum time to wait, then compare the value with 
Note: See TracChangeset for help on using the changeset viewer.