gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-exchange] branch master updated: -fix IO bug


From: gnunet
Subject: [taler-exchange] branch master updated: -fix IO bug
Date: Wed, 01 Nov 2023 22:27:23 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new 4d056a09 -fix IO bug
4d056a09 is described below

commit 4d056a09da457dfd6c4845f3c6fe27a11610afd4
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Wed Nov 1 22:27:20 2023 +0100

    -fix IO bug
---
 src/util/conversion.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/util/conversion.c b/src/util/conversion.c
index 1f0562f9..504bb5ac 100644
--- a/src/util/conversion.c
+++ b/src/util/conversion.c
@@ -150,7 +150,7 @@ read_cb (void *cls)
       ec->read_size = ns;
     }
     ret = GNUNET_DISK_file_read (ec->chld_stdout,
-                                 ec->read_buf,
+                                 ec->read_buf + ec->read_pos,
                                  ec->read_size - ec->read_pos);
     if (ret < 0)
     {
@@ -259,7 +259,7 @@ child_done_cb (void *cls,
               "Conversion helper exited with status %d and code %llu after 
outputting %llu bytes of data\n",
               (int) type,
               (unsigned long long) exit_code,
-              (unsigned long long) ec->write_pos);
+              (unsigned long long) ec->read_pos);
   if (NULL != ec->read_task)
   {
     GNUNET_SCHEDULER_cancel (ec->read_task);

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]