mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
common:w32: Fix gnupg_w32_set_errno.
* common/sysutils.c (gnupg_w32_set_errno): Return EC. -- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
9f39e4da29
commit
5bc949d230
@ -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*/
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user