1
mirror of https://github.com/rapid7/metasploit-payloads synced 2025-02-28 06:13:03 +01:00

Small space/comment fix

This commit is contained in:
OJ 2016-10-03 15:24:41 +10:00
parent 0cbb86c59b
commit 46484c2f35
No known key found for this signature in database
GPG Key ID: D5DC61FB93260597

View File

@ -601,9 +601,8 @@ DWORD request_sys_config_localtime(Remote* remote, Packet* packet)
time_t t = time(NULL);
struct tm lt = { 0 };
localtime_r(&t, &lt);
// TODO: bug?
// TODO: bug? Ping @bcook-r7
// For some reason I don't see the correct TZ name/offset coming through. Bionic issue?
// Or tied just to my setup (FC24)?
strftime(dateTime, sizeof(dateTime) - 1, "%Y-%m-%d %H:%M:%S %Z (UTC%z)", &lt);
#endif