Skip to content

Commit

Permalink
FTV2a: raise some log messages to INFO level
Browse files Browse the repository at this point in the history
  • Loading branch information
zoff99 committed Sep 4, 2024
1 parent c2f12e4 commit 0d648a2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions toxcore/Messenger.c
Original file line number Diff line number Diff line change
Expand Up @@ -2115,7 +2115,7 @@ static int handle_filecontrol(Messenger *m, int32_t friendnumber, bool outbound,
}
// HINT: the receiver has sent us confirmation the our file send request was received and also fully processed.
ft->ft_send_ackd = true;
LOGGER_DEBUG(m->log, "FILECONTROL_SEND_ACK: received");
LOGGER_INFO(m->log, "FILECONTROL_SEND_ACK: received");
}
return 0;
}
Expand Down Expand Up @@ -2597,7 +2597,7 @@ static int m_handle_packet(void *object, int i, const uint8_t *temp, uint16_t le
LOGGER_DEBUG(m->log, "PACKET_ID_FILE_SENDREQUEST:already_in_use:file_type == FILEKIND_FTV2");
if (send_file_control_packet(m, i, true, filenumber, FILECONTROL_SEND_ACK, ft->id, FILE_ID_LENGTH)) {
// HINT: if this fails the sender will resend the FT anyway, so no need to handle any error here
LOGGER_DEBUG(m->log, "PACKET_ID_FILE_SENDREQUEST:already_in_use:sent FILECONTROL_SEND_ACK to sender");
LOGGER_INFO(m->log, "PACKET_ID_FILE_SENDREQUEST:already_in_use:sent FILECONTROL_SEND_ACK to sender");
}
}
break;
Expand Down Expand Up @@ -2652,7 +2652,7 @@ static int m_handle_packet(void *object, int i, const uint8_t *temp, uint16_t le
LOGGER_DEBUG(m->log, "PACKET_ID_FILE_SENDREQUEST:file_type == FILEKIND_FTV2");
if (send_file_control_packet(m, i, true, filenumber, FILECONTROL_SEND_ACK, ft->id, FILE_ID_LENGTH)) {
// HINT: if this fails the sender will resend the FT anyway, so no need to handle any error here
LOGGER_DEBUG(m->log, "PACKET_ID_FILE_SENDREQUEST:sent FILECONTROL_SEND_ACK to sender");
LOGGER_INFO(m->log, "PACKET_ID_FILE_SENDREQUEST:sent FILECONTROL_SEND_ACK to sender");
}
}

Expand Down

0 comments on commit 0d648a2

Please sign in to comment.