agent: Fix build regression for Windows.
authorWerner Koch <wk@gnupg.org>
Mon, 22 Oct 2018 15:24:58 +0000 (17:24 +0200)
committerWerner Koch <wk@gnupg.org>
Mon, 22 Oct 2018 15:24:58 +0000 (17:24 +0200)
commit68b8096b6617cdad09c99d7eda2035176807e78f
treea6812e52daeca5ca4830355cc41365cac276228c
parent0a7f446c189201ca6e527af08b44da756b343209
agent: Fix build regression for Windows.

* agent/command-ssh.c (get_client_info): Turn client_uid into an int.
Fix setting of it in case of a failed getsocketopt.
* agent/command.c (start_command_handler): Fix setting of the pid and
uid for Windows.
--

Fixes-commit: 28aa6890588cc108639951bb4bef03ac17743046
which obviously was only added to master.

Signed-off-by: Werner Koch <wk@gnupg.org>
agent/command-ssh.c
agent/command.c