aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2014-10-02 12:46:34 +0000
committerWerner Koch <[email protected]>2014-10-02 12:46:34 +0000
commite8b04bed1093a9f1d87c150326e79adfeb02e2b4 (patch)
tree57ae46e0b1d4cf56fe8d212906c2cd75c848f44d
parentbuild: Support SYSROOT based config script finding. (diff)
downloadlibgpg-error-e8b04bed1093a9f1d87c150326e79adfeb02e2b4.tar.gz
libgpg-error-e8b04bed1093a9f1d87c150326e79adfeb02e2b4.zip
w32: Make it build again.
* src/estream.c (es_func_w32_read): Fix var name.
-rw-r--r--src/estream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/estream.c b/src/estream.c
index 2537141..a17950e 100644
--- a/src/estream.c
+++ b/src/estream.c
@@ -1063,7 +1063,7 @@ es_func_w32_read (void *cookie, void *buffer, size_t size)
gpgrt_ssize_t bytes_read;
if (!size)
- bytes_to_read = -1; /* We don't know whether anything is pending. */
+ bytes_read = -1; /* We don't know whether anything is pending. */
else if (w32_cookie->hd == INVALID_HANDLE_VALUE)
{
_gpgrt_yield ();