diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2023-07-10 04:18:08 +0200 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2023-07-10 04:21:16 +0200 |
commit | a3be97df4ddfce008dcc6e877e9fb98c71656ec6 (patch) | |
tree | ac64160b263a8d9dc4ee6ddccfeb8efc7fa3adce | |
parent | dirmngr: Enable the call of ks_ldap_help_variables when USE_LDAP. (diff) | |
download | gnupg2-a3be97df4ddfce008dcc6e877e9fb98c71656ec6.tar.xz gnupg2-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 <gniibe@fsij.org>
-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*/ |