From 01c06a2d35a5c44f50e254902b1788d6a3f3e458 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 27 Feb 2017 03:42:43 +0100 Subject: [PATCH] fix missing nbo conversion --- src/set/gnunet-service-set_union.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/set/gnunet-service-set_union.c b/src/set/gnunet-service-set_union.c index 82c45453d..4283ba88c 100644 --- a/src/set/gnunet-service-set_union.c +++ b/src/set/gnunet-service-set_union.c @@ -1284,7 +1284,7 @@ send_client_element (struct Operation *op, } rm->result_status = htons (status); rm->request_id = htonl (op->spec->client_request_id); - rm->element_type = element->element_type; + rm->element_type = htons (element->element_type); rm->current_size = GNUNET_htonll (GNUNET_CONTAINER_multihashmap32_size (op->state->key_to_element)); GNUNET_memcpy (&rm[1], element->data, element->size); GNUNET_MQ_send (op->spec->set->client_mq, ev); -- 2.25.1