summaryrefslogtreecommitdiff
path: root/src/messenger/gnunet-service-messenger_room.c
diff options
context:
space:
mode:
authorTheJackiMonster <thejackimonster@gmail.com>2021-05-24 01:30:17 +0200
committerTheJackiMonster <thejackimonster@gmail.com>2021-06-11 13:47:57 +0200
commitd0eec6097f79c7fb3ea8b5d8bb0dcca1da1f85a6 (patch)
treec0cc57a0f066bc1d3c528323c33903038747eca8 /src/messenger/gnunet-service-messenger_room.c
parent2549225b825f34b0dfbe9f4a13f134963f3ba58d (diff)
-moved messenger service out of experimentaldev/thejackimonster/messenger
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com> -moved out of experimental, included protocol versions into ports and fixed byte-order of 32bit integers in messages Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
Diffstat (limited to 'src/messenger/gnunet-service-messenger_room.c')
-rw-r--r--src/messenger/gnunet-service-messenger_room.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/messenger/gnunet-service-messenger_room.c b/src/messenger/gnunet-service-messenger_room.c
index e8fe5b1f3..c3a5e3a4b 100644
--- a/src/messenger/gnunet-service-messenger_room.c
+++ b/src/messenger/gnunet-service-messenger_room.c
@@ -329,7 +329,9 @@ open_room (struct GNUNET_MESSENGER_SrvRoom *room, struct GNUNET_MESSENGER_SrvHan
struct GNUNET_MessageHeader, NULL),
GNUNET_MQ_handler_end() };
- room->port = GNUNET_CADET_open_port (cadet, key, callback_room_connect, room, NULL, callback_tunnel_disconnect,
+ struct GNUNET_HashCode port;
+ convert_messenger_key_to_port(key, &port);
+ room->port = GNUNET_CADET_open_port (cadet, &port, callback_room_connect, room, NULL, callback_tunnel_disconnect,
handlers);
if (room->port)