GUACAMOLE-861: Merge correction to RDPDR filesystem timestamp conversion.

This commit is contained in:
Mike Jumper 2019-08-22 10:25:55 -07:00 committed by GitHub
commit b181026e58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -188,7 +188,7 @@
* Converts a UNIX timestamp (seconds since Jan 1, 1970 UTC) to Windows
* timestamp (100 nanosecond intervals since Jan 1, 1601 UTC).
*/
#define WINDOWS_TIME(t) ((t - ((uint64_t) 11644473600)) * 10000000)
#define WINDOWS_TIME(t) ((t + ((uint64_t) 11644473600)) * 10000000)
/**
* An arbitrary file on the virtual filesystem of the Guacamole drive.