Ignore:
Timestamp:
Oct 24, 2006 5:13:30 PM (18 years ago)
Author:
bennylp
Message:

Bulk of PJLIB implementations on Symbian: exception framework, errno, OS core, Unicode, pool backend, log (to console), socket, address resolution, select, etc. IOQueue still doesn't work.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/symbian/pjlib/src/pj/errno.c

    r330 r788  
    141141    pj_assert(buf && bufsize); 
    142142 
    143     if (statcode < PJ_ERRNO_START + PJ_ERRNO_SPACE_SIZE) { 
     143    if (statcode < PJ_ERRNO_START + PJ_ERRNO_SPACE_SIZE - PJ_ERRNO_SPACE_GAP) { 
    144144        len = pj_ansi_snprintf( buf, bufsize, "Unknown error %d", statcode); 
    145145 
    146     } else if (statcode < PJ_ERRNO_START_STATUS + PJ_ERRNO_SPACE_SIZE) { 
     146    } else if (statcode < PJ_ERRNO_START_STATUS + PJ_ERRNO_SPACE_SIZE - PJ_ERRNO_SPACE_GAP) { 
    147147        len = pjlib_error(statcode, buf, bufsize); 
    148148 
    149     } else if (statcode < PJ_ERRNO_START_SYS + PJ_ERRNO_SPACE_SIZE) { 
     149    } else if (statcode < PJ_ERRNO_START_SYS + PJ_ERRNO_SPACE_SIZE - PJ_ERRNO_SPACE_GAP) { 
    150150        len = platform_strerror(PJ_STATUS_TO_OS(statcode), buf, bufsize); 
    151151 
Note: See TracChangeset for help on using the changeset viewer.