From 879622fcdbaa89f7c74a35e075d7d423aad01abf Mon Sep 17 00:00:00 2001 From: Green Sky Date: Wed, 25 Sep 2024 16:40:03 +0200 Subject: [PATCH] self review 2 --- toxav/msi.c | 7 +------ toxcore/tox.h | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/toxav/msi.c b/toxav/msi.c index 6865f5427f..5173621361 100644 --- a/toxav/msi.c +++ b/toxav/msi.c @@ -20,11 +20,6 @@ #define MSI_MAXMSG_SIZE 256 -#ifndef TOXAV_DEFINED -#define TOXAV_DEFINED -typedef struct ToxAV ToxAV; -#endif /* TOXAV_DEFINED */ - /** * Protocol: * @@ -175,7 +170,7 @@ int msi_kill(const Logger *log, Tox *tox, MSISession *session) } /* - * return true if friend was offline and the call was canceled + * return true if friend is offline and the call was canceled. */ bool check_peer_offline_status(const Logger *log, const Tox *tox, MSISession *session, uint32_t friend_number) { diff --git a/toxcore/tox.h b/toxcore/tox.h index dbc3785ecf..49b0c90d5a 100644 --- a/toxcore/tox.h +++ b/toxcore/tox.h @@ -3289,7 +3289,7 @@ bool tox_friend_send_lossless_packet( /** * tox_callback_friend_lossy_packet is the compatibility function to - * set callback for all packet IDs except those reserved for ToxAV + * set the callback for all packet IDs except those reserved for ToxAV. * * @param friend_number The friend number of the friend who sent a lossy packet. * @param data A byte array containing the received packet data.