diff options
author | NIIBE Yutaka <[email protected]> | 2023-07-10 02:18:08 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2023-07-10 02:21:16 +0000 |
commit | a3be97df4ddfce008dcc6e877e9fb98c71656ec6 (patch) | |
tree | ac64160b263a8d9dc4ee6ddccfeb8efc7fa3adce /common/sysutils.c | |
parent | dirmngr: Enable the call of ks_ldap_help_variables when USE_LDAP. (diff) | |
download | gnupg-a3be97df4ddfce008dcc6e877e9fb98c71656ec6.tar.gz gnupg-a3be97df4ddfce008dcc6e877e9fb98c71656ec6.zip |
common:w32: Fix gnupg_w32_set_errno.
* common/sysutils.c (gnupg_w32_set_errno): Return EC.
--
Cherry-pick master commit of:
4c6b759368bcf19a13df07c5c6080765ecac28ca
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to '')
-rw-r--r-- | common/sysutils.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/sysutils.c b/common/sysutils.c index f8e6d86fc..c88c02d36 100644 --- a/common/sysutils.c +++ b/common/sysutils.c @@ -337,6 +337,7 @@ gnupg_w32_set_errno (int ec) if (ec == -1) ec = GetLastError (); _set_errno (map_w32_to_errno (ec)); + return ec; } #endif /*HAVE_W32_SYSTEM*/ |