Skip to content

Commit

Permalink
fix: fixes for CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
goldroom committed Mar 22, 2024
1 parent a467d45 commit 7847245
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion toxcore/logger.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ void logger_write(const Logger *log, Logger_Level level, const char *file, int l
#endif /* WIN32 */

// Format message
//TODO: changed from 1024 to 4096
// TODO: changed from 1024 to 4096
char msg[4096];
va_list args;
va_start(args, format);
Expand Down
2 changes: 1 addition & 1 deletion toxcore/net_crypto.c
Original file line number Diff line number Diff line change
Expand Up @@ -2518,7 +2518,7 @@ static int handle_packet_crypto_hs(Net_Crypto *c, int crypt_connection_id, const
LOGGER_DEBUG(c->log, "RESPONDER: Noise handshake -> NOISE_HANDSHAKE_PACKET_LENGTH_INITIATOR");
/* necessary, otherwise broken after INITIATOR to RESPONDER change */
if (noise_handshake_init(c->log, conn->noise_handshake, c->self_secret_key, nullptr, false) != 0) {
return false;
return -1;
}
/* Noise: peer_real_pk (=conn->public_key) not necessary here, but for call in handle_new_connection_handshake()
-> otherwise not working (call via friend_connection.c) */
Expand Down

0 comments on commit 7847245

Please sign in to comment.