From: Florian Dold Date: Mon, 27 Feb 2017 02:42:43 +0000 (+0100) Subject: fix missing nbo conversion X-Git-Tag: taler-0.2.1~13 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=01c06a2d35a5c44f50e254902b1788d6a3f3e458;p=oweals%2Fgnunet.git fix missing nbo conversion --- 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);