VirtualBox

Changeset 71268 in vbox


Ignore:
Timestamp:
Mar 8, 2018 9:35:18 AM (7 years ago)
Author:
vboxsync
Message:

IPRT/time: Fixed a bug in RTTimeSpecFromString(), which was causing it to fail in the time/seconds part.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/time/time.cpp

    r70896 r71268  
    854854
    855855    /* Second. */
    856     rc = RTStrToUInt8Ex(pszString, (char **)&pszString, 10, &pTime->u8Minute);
     856    rc = RTStrToUInt8Ex(pszString, (char **)&pszString, 10, &pTime->u8Second);
    857857    if (rc != VINF_SUCCESS && rc != VWRN_TRAILING_CHARS && rc != VWRN_TRAILING_SPACES)
    858858        return NULL;
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