VirtualBox

Ignore:
Timestamp:
Jul 4, 2019 10:54:56 AM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
131810
Message:

Dhcpd: Use RTTimeNow instead of the weird RTTimeNanoTS + RTTimeNow conversion combo for implementing timestamps. bugref:9288

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/NetworkServices/Dhcpd/Db.cpp

    r79524 r79526  
    100100
    101101        Timestamp tsIssued = b->issued();
    102         cb += tsIssued.absStrFormat(pfnOutput, pvArgOutput);
     102        cb += tsIssued.strFormatHelper(pfnOutput, pvArgOutput);
    103103
    104104        cb += RTStrFormat(pfnOutput, pvArgOutput, NULL, 0,
     
    108108        Timestamp tsValid = b->issued();
    109109        tsValid.addSeconds(b->leaseTime());
    110         cb += tsValid.absStrFormat(pfnOutput, pvArgOutput);
     110        cb += tsValid.strFormatHelper(pfnOutput, pvArgOutput);
    111111    }
    112112
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