VirtualBox

Changeset 40386 in vbox for trunk/src/libs/xpcom18a4/nsprpub


Ignore:
Timestamp:
Mar 6, 2012 8:13:25 PM (13 years ago)
Author:
vboxsync
Message:

xpcom/plerror: fixed upper limit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/nsprpub/lib/libc/src/plerror.c

    r1 r40386  
    134134
    135135        if (NULL != msg) PR_fprintf(fd, "%s: ", msg);
    136     if ((error < PR_NSPR_ERROR_BASE) || (error > lastError))
     136    if ((error < PR_NSPR_ERROR_BASE) || (error >= lastError))
    137137        PR_fprintf(
    138138                        fd, " (%d)OUT OF RANGE, oserror = %d\n", error, oserror);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette