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/15 13:50:00 UTC

[jira] [Resolved] (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 resolved GUACAMOLE-949.
-------------------------------------
    Fix Version/s: 1.3.0
       Resolution: Implemented

> Remove unused UNIX_TIME macro
> -----------------------------
>
>                 Key: GUACAMOLE-949
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-949
>             Project: Guacamole
>          Issue Type: Improvement
>          Components: RDP
>            Reporter: Eisuke Kuwahata
>            Assignee: Nick Couchman
>            Priority: Trivial
>             Fix For: 1.3.0
>
>
> 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)