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] [Assigned] (GUACAMOLE-949) Drive Redirection: Wrong formula for UNIX_TIME

     [ https://issues.apache.org/jira/browse/GUACAMOLE-949?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nick Couchman reassigned GUACAMOLE-949:
---------------------------------------

    Assignee: Nick Couchman

> Drive Redirection: Wrong formula for UNIX_TIME
> ----------------------------------------------
>
>                 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)