From a4df2862ed38f9d764006bdc535ee77a54932414 Mon Sep 17 00:00:00 2001 From: Maxim Biro Date: Sun, 3 Dec 2023 04:09:43 -0500 Subject: [PATCH] Replace tabs with spaces --- other/bootstrap_daemon/src/tox-bootstrapd.c | 2 +- toxcore/Messenger.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/other/bootstrap_daemon/src/tox-bootstrapd.c b/other/bootstrap_daemon/src/tox-bootstrapd.c index 8d0e3183..ea271b56 100644 --- a/other/bootstrap_daemon/src/tox-bootstrapd.c +++ b/other/bootstrap_daemon/src/tox-bootstrapd.c @@ -454,7 +454,7 @@ int main(int argc, char *argv[]) if (tcp_relay_port_count == 0) { log_write(LOG_LEVEL_ERROR, "No TCP relay ports read. Exiting.\n"); kill_onion_announce(onion_a); - kill_gca(group_announce); + kill_gca(group_announce); kill_announcements(announce); kill_forwarding(forwarding); kill_onion(onion); diff --git a/toxcore/Messenger.c b/toxcore/Messenger.c index 8ee9842b..c76aa28e 100644 --- a/toxcore/Messenger.c +++ b/toxcore/Messenger.c @@ -2024,7 +2024,7 @@ non_null(1, 3) nullable(5) static int m_handle_packet_offline(Messenger *m, const int i, const uint8_t *data, const uint16_t data_length, void *userdata) { if (data_length == 0) { - set_friend_status(m, i, FRIEND_CONFIRMED, userdata); + set_friend_status(m, i, FRIEND_CONFIRMED, userdata); } return 0; @@ -2403,8 +2403,8 @@ static int m_handle_packet(void *object, int i, const uint8_t *temp, uint16_t le return m_handle_packet_file_data(m, i, data, data_length, userdata); case PACKET_ID_MSI: return m_handle_packet_msi(m, i, data, data_length, userdata); - case PACKET_ID_INVITE_GROUPCHAT: - return m_handle_packet_invite_groupchat(m, i, data, data_length, userdata); + case PACKET_ID_INVITE_GROUPCHAT: + return m_handle_packet_invite_groupchat(m, i, data, data_length, userdata); } return handle_custom_lossless_packet(object, i, temp, len, userdata);