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: adding size-checker


From: gnunet
Subject: [GNUnet-SVN] [taler-twister] branch master updated: adding size-checker
Date: Fri, 14 Jun 2019 14:52:16 +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 70a913c  adding size-checker
70a913c is described below

commit 70a913cd2639095479291d2d43ee1ce8135e31fc
Author: Marcello Stanisci <address@hidden>
AuthorDate: Fri Jun 14 14:52:10 2019 +0200

    adding size-checker
---
 src/twister/taler-twister-service.c | 22 ++++++++++++++++++----
 1 file changed, 18 insertions(+), 4 deletions(-)

diff --git a/src/twister/taler-twister-service.c 
b/src/twister/taler-twister-service.c
index b048832..dec8b0b 100644
--- a/src/twister/taler-twister-service.c
+++ b/src/twister/taler-twister-service.c
@@ -2626,6 +2626,19 @@ check_flip_path_ul (void *cls,
  * @param cls message queue for sending replies
  * @param src received message
  */
+static int
+check_flip_path_dl (void *cls,
+                    const struct TWISTER_FlipPath *src)
+{
+  return GNUNET_OK;
+}
+
+/**
+ * Control handler for flipping JSON strings into request objects
+ *
+ * @param cls message queue for sending replies
+ * @param src received message
+ */
 static void
 handle_flip_path_ul (void *cls,
                      const struct TWISTER_FlipPath *src)
@@ -2723,10 +2736,11 @@ GNUNET_SERVICE_MAIN
                        struct TWISTER_FlipPath,
                        NULL),
 
- GNUNET_MQ_hd_fixed_size (flip_path_dl,
-                         TWISTER_MESSAGE_TYPE_FLIP_PATH_DL,
-                         struct TWISTER_FlipPath,
-                         NULL),
+ GNUNET_MQ_hd_var_size (flip_path_dl,
+                       TWISTER_MESSAGE_TYPE_FLIP_PATH_DL,
+                       struct TWISTER_FlipPath,
+                       NULL),
+
  GNUNET_MQ_handler_end ());
 
 

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



reply via email to

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