commit 70a913cd2639095479291d2d43ee1ce8135e31fc
parent 28a4b9e407ea412c4a00b1856c12e0db15a6f068
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date: Fri, 14 Jun 2019 14:52:10 +0200
adding size-checker
Diffstat:
1 file changed, 18 insertions(+), 4 deletions(-)
diff --git 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 ());