summaryrefslogtreecommitdiff
path: root/src/testbed/testbed_api_peers.c
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2012-07-07 16:12:09 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2012-07-07 16:12:09 +0000
commit9279bfb981fff618746e93a2c5d1c1672f5d464a (patch)
treed3f90e8496e43fa21976f752092ea640da3c5166 /src/testbed/testbed_api_peers.c
parent8e43ea79aeddfa0cf8b55d1d4a6610ce80e042b8 (diff)
downloadgnunet-9279bfb981fff618746e93a2c5d1c1672f5d464a.tar.gz
gnunet-9279bfb981fff618746e93a2c5d1c1672f5d464a.zip
-peer create message handler
Diffstat (limited to 'src/testbed/testbed_api_peers.c')
-rw-r--r--src/testbed/testbed_api_peers.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/testbed/testbed_api_peers.c b/src/testbed/testbed_api_peers.c
index 1ec827e37..844510cda 100644
--- a/src/testbed/testbed_api_peers.c
+++ b/src/testbed/testbed_api_peers.c
@@ -156,6 +156,7 @@ GNUNET_TESTBED_peer_create_with_id_ (uint32_t unique_id,
156 msg->header.type = htons (GNUNET_MESSAGE_TYPE_TESTBED_CREATEPEER); 156 msg->header.type = htons (GNUNET_MESSAGE_TYPE_TESTBED_CREATEPEER);
157 msg->host_id = htonl (GNUNET_TESTBED_host_get_id_ (peer->host)); 157 msg->host_id = htonl (GNUNET_TESTBED_host_get_id_ (peer->host));
158 msg->peer_id = htonl (peer->unique_id); 158 msg->peer_id = htonl (peer->unique_id);
159 msg->config_size = htonl (c_size);
159 GNUNET_TESTBED_queue_message (controller, 160 GNUNET_TESTBED_queue_message (controller,
160 (struct GNUNET_MessageHeader *) msg); 161 (struct GNUNET_MessageHeader *) msg);
161 return peer; 162 return peer;