Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- static void time_t_to_dos_time(time_t user_supplied_time_t, int *dos_date, int *dos_time)
- {
- struct tm *t = localtime(&user_supplied_time_t);
- *dos_time = t->tm_sec / 2 + t->tm_min * 32 + t->tm_hour * 2048;
- *dos_date = t->tm_mday + (t->tm_mon + 1) * 32 +
- (t->tm_year + 1900 - 1980) * 512;
- }
- HTTP/1.1 502 Bad Gateway
- Content-Length: 13
- Content-Security-Policy: default-src 'none'; style-src 'unsafe-inline'
- Strict-Transport-Security: max-age=31536000
- Vary: Authorization,Accept-Encoding
- X-Content-Type-Options: nosniff
- X-Frame-Options: deny
- X-XSS-Protection: 1; mode=block
- Date: Tue, 28 Jun 2016 12:59:10 GMT
- 502: Failure
Add Comment
Please, Sign In to add comment