- Timestamp:
- Sep 18, 2024, 6:51:17 PM (2 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Server/server.c
r43 r45 436 436 strptime(req.headers[i + 1], "%a, %d %b %Y %H:%M:%S GMT", &tm); 437 437 #ifdef __MINGW32__ 438 cmtime = _mkgmtime(&tm); 438 time_t t = 0; 439 struct tm* btm = localtime(&t); 440 cmtime = mktime(&tm); 441 cmtime -= (btm->tm_hour * 60 + btm->tm_min) * 60; 439 442 #else 440 443 cmtime = timegm(&tm);
Note:
See TracChangeset
for help on using the changeset viewer.