Skip to content

Commit

Permalink
fix comparison int and point, fix some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
zoff99 committed Mar 21, 2024
1 parent 2dfbff0 commit c31860f
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 14 deletions.
6 changes: 1 addition & 5 deletions amalgamation/toxcore_amalgamation.c
Original file line number Diff line number Diff line change
Expand Up @@ -47348,10 +47348,6 @@ void copy_friend_ip_port(Net_Crypto *c, const int crypt_conn_id, char *report_st
return;
}

if (crypt_conn_id == nullptr) {
return;
}

char *p = report_string;

if (direct_connected) {
Expand Down Expand Up @@ -75222,7 +75218,7 @@ void rtp_stop_receiving(Tox *tox)
}

/**
* @param input is raw vpx data (or H264 data).
* @param data is raw vpx data (or H264 data).
* @param length is the length of the raw data.
*/
int rtp_send_data(RTPSession *session, const uint8_t *data, uint32_t length, bool is_keyframe,
Expand Down
4 changes: 0 additions & 4 deletions amalgamation/toxcore_amalgamation_no_toxav.c
Original file line number Diff line number Diff line change
Expand Up @@ -44914,10 +44914,6 @@ void copy_friend_ip_port(Net_Crypto *c, const int crypt_conn_id, char *report_st
return;
}

if (crypt_conn_id == nullptr) {
return;
}

char *p = report_string;

if (direct_connected) {
Expand Down
2 changes: 1 addition & 1 deletion toxav/rtp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1108,7 +1108,7 @@ void rtp_stop_receiving(Tox *tox)
}

/**
* @param input is raw vpx data (or H264 data).
* @param data is raw vpx data (or H264 data).
* @param length is the length of the raw data.
*/
int rtp_send_data(RTPSession *session, const uint8_t *data, uint32_t length, bool is_keyframe,
Expand Down
4 changes: 0 additions & 4 deletions toxcore/net_crypto.c
Original file line number Diff line number Diff line change
Expand Up @@ -2347,10 +2347,6 @@ void copy_friend_ip_port(Net_Crypto *c, const int crypt_conn_id, char *report_st
return;
}

if (crypt_conn_id == nullptr) {
return;
}

char *p = report_string;

if (direct_connected) {
Expand Down

0 comments on commit c31860f

Please sign in to comment.