gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-twister] branch master updated: ntohs


From: gnunet
Subject: [GNUnet-SVN] [taler-twister] branch master updated: ntohs
Date: Fri, 14 Jun 2019 02:37:18 +0200

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

marcello pushed a commit to branch master
in repository twister.

The following commit(s) were added to refs/heads/master by this push:
     new c2d6bc0  ntohs
c2d6bc0 is described below

commit c2d6bc02b803a35ad9fc99f003c1ba6be95b9d52
Author: Marcello Stanisci <address@hidden>
AuthorDate: Fri Jun 14 02:37:13 2019 +0200

    ntohs
---
 src/twister/taler-twister-service.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/twister/taler-twister-service.c 
b/src/twister/taler-twister-service.c
index 1d112a6..3c02d35 100644
--- a/src/twister/taler-twister-service.c
+++ b/src/twister/taler-twister-service.c
@@ -2633,7 +2633,7 @@ handle_flip_path_ul (void *cls,
   struct GNUNET_SERVICE_Client *c = cls;
   size_t tailsize;
 
-  tailsize = src->header.size - sizeof (*src);
+  tailsize = ntohs (src->header.size) - sizeof (*src);
 
   GNUNET_assert
     (tailsize == GNUNET_STRINGS_buffer_tokenize ((char *) &src[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]