aboutsummaryrefslogtreecommitdiffstats
path: root/common/membuf.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2010-03-02 21:25:08 +0000
committerWerner Koch <[email protected]>2010-03-02 21:25:08 +0000
commitd232fd2e543fb81151d7fe25e9f0692610870788 (patch)
tree8ce5ef17c07737c2ae873f945f99fb255f6573a3 /common/membuf.c
parentFinished jnlib port to CE. (diff)
downloadgnupg-d232fd2e543fb81151d7fe25e9f0692610870788.tar.gz
gnupg-d232fd2e543fb81151d7fe25e9f0692610870788.zip
First steps towards the W32CE port
Diffstat (limited to 'common/membuf.c')
-rw-r--r--common/membuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/membuf.c b/common/membuf.c
index 737930b76..dc8f6f692 100644
--- a/common/membuf.c
+++ b/common/membuf.c
@@ -105,7 +105,7 @@ get_membuf (membuf_t *mb, size_t *len)
xfree (mb->buf);
mb->buf = NULL;
}
- errno = mb->out_of_core;
+ gpg_err_set_errno (mb->out_of_core);
return NULL;
}