gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnunet] branch master updated: attempt fix #5813


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: attempt fix #5813
Date: Sun, 21 Jul 2019 20:50:01 +0200

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

martin-schanzenbach pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 9b8833954 attempt fix #5813
9b8833954 is described below

commit 9b88339545ecef3b4097bb5ba2608deb997715cb
Author: Schanzenbach, Martin <address@hidden>
AuthorDate: Sun Jul 21 20:48:44 2019 +0200

    attempt fix #5813
---
 src/testbed/gnunet-helper-testbed.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/testbed/gnunet-helper-testbed.c 
b/src/testbed/gnunet-helper-testbed.c
index 687a54bcd..aaa65ed61 100644
--- a/src/testbed/gnunet-helper-testbed.c
+++ b/src/testbed/gnunet-helper-testbed.c
@@ -11,7 +11,7 @@
       WITHOUT ANY WARRANTY; without even the implied warranty of
       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
       Affero General Public License for more details.
-     
+
       You should have received a copy of the GNU Affero General Public License
       along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
@@ -345,8 +345,8 @@ tokenizer_cb (void *cls,
   ul_config_size = (uLongf) ntohs (msg->config_size);
   config = GNUNET_malloc (ul_config_size);
   xconfig_size =
-      ntohs (message->size) - (trusted_ip_size + 1 +
-                               sizeof (struct GNUNET_TESTBED_HelperInit));
+      msize - (trusted_ip_size + 1 + hostname_size +
+               sizeof (struct GNUNET_TESTBED_HelperInit));
   if (Z_OK !=
       uncompress ((Bytef *) config, &ul_config_size,
                   (const Bytef *) (trusted_ip + trusted_ip_size + 1 +

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

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