summaryrefslogtreecommitdiffstats
path: root/common/xreadline.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2010-03-02 22:25:08 +0100
committerWerner Koch <wk@gnupg.org>2010-03-02 22:25:08 +0100
commitd232fd2e543fb81151d7fe25e9f0692610870788 (patch)
tree8ce5ef17c07737c2ae873f945f99fb255f6573a3 /common/xreadline.c
parentFinished jnlib port to CE. (diff)
downloadgnupg2-d232fd2e543fb81151d7fe25e9f0692610870788.tar.xz
gnupg2-d232fd2e543fb81151d7fe25e9f0692610870788.zip
First steps towards the W32CE port
Diffstat (limited to 'common/xreadline.c')
-rw-r--r--common/xreadline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/xreadline.c b/common/xreadline.c
index 8ca72b75f..4ea10d75b 100644
--- a/common/xreadline.c
+++ b/common/xreadline.c
@@ -98,7 +98,7 @@ read_line (FILE *fp,
*length_of_buffer = 0;
if (max_length)
*max_length = 0;
- errno = save_errno;
+ gpg_err_set_errno (save_errno);
return -1;
}
buffer = *addr_of_buffer;