Skip to content

Commit

Permalink
self review 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Green-Sky committed Sep 25, 2024
1 parent 3297b62 commit 879622f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 1 addition & 6 deletions toxav/msi.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@

#define MSI_MAXMSG_SIZE 256

#ifndef TOXAV_DEFINED
#define TOXAV_DEFINED
typedef struct ToxAV ToxAV;
#endif /* TOXAV_DEFINED */

/**
* Protocol:
*
Expand Down Expand Up @@ -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)
{
Expand Down
2 changes: 1 addition & 1 deletion toxcore/tox.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 879622f

Please sign in to comment.