Changeset 38734 in vbox
- Timestamp:
- Sep 13, 2011 1:21:21 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/misc/s3.cpp
r38730 r38734 126 126 { 127 127 /* Date header entry */ 128 #if 0 /** @todo r=bird: Use RTTimeNow(), RTTimeExplode() and RTStrPrintf? */129 128 RTTIMESPEC TimeSpec; 130 129 RTTIME Time; … … 143 142 Time.u8Minute, 144 143 Time.u8Second); 145 #else146 time_t tt = time(NULL);147 char* pszDate = (char*)RTMemAlloc(128);148 strftime(pszDate, 128, "Date: %a, %d %b %Y %H:%M:%S UTC", gmtime(&tt));149 #endif150 144 151 145 return pszDate;
Note:
See TracChangeset
for help on using the changeset viewer.