Changeset 788 for pjproject/branches/symbian/pjlib/src/pj/errno.c
- Timestamp:
- Oct 24, 2006 5:13:30 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/symbian/pjlib/src/pj/errno.c
r330 r788 141 141 pj_assert(buf && bufsize); 142 142 143 if (statcode < PJ_ERRNO_START + PJ_ERRNO_SPACE_SIZE ) {143 if (statcode < PJ_ERRNO_START + PJ_ERRNO_SPACE_SIZE - PJ_ERRNO_SPACE_GAP) { 144 144 len = pj_ansi_snprintf( buf, bufsize, "Unknown error %d", statcode); 145 145 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) { 147 147 len = pjlib_error(statcode, buf, bufsize); 148 148 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) { 150 150 len = platform_strerror(PJ_STATUS_TO_OS(statcode), buf, bufsize); 151 151
Note: See TracChangeset
for help on using the changeset viewer.