You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@guacamole.apache.org by "Nick Couchman (Jira)" <ji...@apache.org> on 2020/04/02 19:55:00 UTC
[jira] [Updated] (GUACAMOLE-949) Remove unused UNIX_TIME macro
[ https://issues.apache.org/jira/browse/GUACAMOLE-949?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nick Couchman updated GUACAMOLE-949:
------------------------------------
Summary: Remove unused UNIX_TIME macro (was: Drive Redirection: Wrong formula for UNIX_TIME)
> Remove unused UNIX_TIME macro
> -----------------------------
>
> Key: GUACAMOLE-949
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-949
> Project: Guacamole
> Issue Type: Bug
> Components: RDP
> Reporter: Eisuke Kuwahata
> Assignee: Nick Couchman
> Priority: Trivial
>
> Formula of {{WINDOWS_TIME}} macro was fixed in GUACAMOLE-861, but {{UNIX_TIME}} macro also have wrong formula.
> {code}
> -#define UNIX_TIME(t) ((time_t) ((t / 10000000 + ((uint64_t) 11644473600))))
> +#define UNIX_TIME(t) ((time_t) ((t / 10000000 - ((uint64_t) 11644473600))))
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)