Fix typo: tcp_replays -> tcp_relays.

This commit is contained in:
iphydf 2018-09-08 07:39:40 +00:00
parent d9541d542c
commit ab4477d931
No known key found for this signature in database
GPG Key ID: 3855DBA2D74403C9

View File

@ -3205,7 +3205,7 @@ static uint8_t *save_tcp_relays(const Messenger *m, uint8_t *data)
return data;
}
static State_Load_Status load_tcp_replays(Messenger *m, const uint8_t *data, uint32_t length)
static State_Load_Status load_tcp_relays(Messenger *m, const uint8_t *data, uint32_t length)
{
if (length != 0) {
unpack_nodes(m->loaded_relays, NUM_SAVED_TCP_RELAYS, nullptr, data, length, 1);
@ -3283,7 +3283,7 @@ static void m_register_default_plugins(Messenger *m)
m_register_state_plugin(m, MESSENGER_STATE_TYPE_STATUSMESSAGE, status_message_size, load_status_message,
save_status_message);
m_register_state_plugin(m, MESSENGER_STATE_TYPE_STATUS, status_size, load_status, save_status);
m_register_state_plugin(m, MESSENGER_STATE_TYPE_TCP_RELAY, tcp_relay_size, load_tcp_replays, save_tcp_relays);
m_register_state_plugin(m, MESSENGER_STATE_TYPE_TCP_RELAY, tcp_relay_size, load_tcp_relays, save_tcp_relays);
m_register_state_plugin(m, MESSENGER_STATE_TYPE_PATH_NODE, path_node_size, load_path_nodes, save_path_nodes);
m_register_state_plugin(m, MESSENGER_STATE_TYPE_END, end_size, load_end, save_end);
}