aboutsummaryrefslogtreecommitdiff
path: root/src/testing/testing_api_cmd_send_peer_ready.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testing/testing_api_cmd_send_peer_ready.c')
-rw-r--r--src/testing/testing_api_cmd_send_peer_ready.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/testing/testing_api_cmd_send_peer_ready.c b/src/testing/testing_api_cmd_send_peer_ready.c
index 5bbabce51..1a2607047 100644
--- a/src/testing/testing_api_cmd_send_peer_ready.c
+++ b/src/testing/testing_api_cmd_send_peer_ready.c
@@ -46,7 +46,7 @@ struct SendPeerReadyState
46 * The message send back to the master loop. 46 * The message send back to the master loop.
47 * 47 *
48 */ 48 */
49 struct GNUNET_CMDS_PEER_STARTED *reply; 49 struct GNUNET_TESTING_CommandPeerStarted *reply;
50}; 50};
51 51
52 52
@@ -86,11 +86,11 @@ send_peer_ready_run (void *cls,
86 struct GNUNET_TESTING_Interpreter *is) 86 struct GNUNET_TESTING_Interpreter *is)
87{ 87{
88 struct SendPeerReadyState *sprs = cls; 88 struct SendPeerReadyState *sprs = cls;
89 struct GNUNET_CMDS_PEER_STARTED *reply; 89 struct GNUNET_TESTING_CommandPeerStarted *reply;
90 size_t msg_length; 90 size_t msg_length;
91 91
92 msg_length = sizeof(struct GNUNET_CMDS_PEER_STARTED); 92 msg_length = sizeof(struct GNUNET_TESTING_CommandPeerStarted);
93 reply = GNUNET_new (struct GNUNET_CMDS_PEER_STARTED); 93 reply = GNUNET_new (struct GNUNET_TESTING_CommandPeerStarted);
94 reply->header.type = htons (GNUNET_MESSAGE_TYPE_CMDS_HELPER_PEER_STARTED); 94 reply->header.type = htons (GNUNET_MESSAGE_TYPE_CMDS_HELPER_PEER_STARTED);
95 reply->header.size = htons ((uint16_t) msg_length); 95 reply->header.size = htons ((uint16_t) msg_length);
96 sprs->reply = reply; 96 sprs->reply = reply;