summaryrefslogtreecommitdiff
path: root/src/transport/gnunet-service-transport.c
diff options
context:
space:
mode:
authorMartin Schanzenbach <mschanzenbach@posteo.de>2020-07-06 14:36:28 +0200
committerMartin Schanzenbach <mschanzenbach@posteo.de>2020-07-06 14:36:28 +0200
commit50f16c6a4fe992ab25637fb80a67b9d4e59b789a (patch)
tree3a08b6df103df86d1d220b30705aaa03322cb3e0 /src/transport/gnunet-service-transport.c
parent03943a61c9d876f4ea32c9f4875ddd4b46a186af (diff)
-fix: variable size in test
Diffstat (limited to 'src/transport/gnunet-service-transport.c')
-rw-r--r--src/transport/gnunet-service-transport.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transport/gnunet-service-transport.c b/src/transport/gnunet-service-transport.c
index 9bdcd64be..207c17f2f 100644
--- a/src/transport/gnunet-service-transport.c
+++ b/src/transport/gnunet-service-transport.c
@@ -727,9 +727,9 @@ handle_send_transmit_continuation (void *cls,
stcc->uuid);
send_ok_msg.header.size = htons (sizeof(send_ok_msg));
send_ok_msg.header.type = htons (GNUNET_MESSAGE_TYPE_TRANSPORT_SEND_OK);
- send_ok_msg.bytes_msg = htonl (bytes_payload);
+ send_ok_msg.bytes_msg = htons (bytes_payload);
send_ok_msg.bytes_physical = htonl (bytes_on_wire);
- send_ok_msg.success = htonl (success);
+ send_ok_msg.success = htons (success);
send_ok_msg.peer = stcc->target;
unicast (stcc->tc, &send_ok_msg.header, GNUNET_NO);
}