Skip to content

Commit

Permalink
Minor formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakio815 committed Dec 17, 2024
1 parent ef44cdd commit efbce31
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/federated/RTI/rti_remote.c
Original file line number Diff line number Diff line change
Expand Up @@ -1148,7 +1148,7 @@ static int32_t receive_and_check_fed_id_message(int* socket_id) {
lf_print_error("RTI failed to get peer address.");
}
fed->server_ip_addr = peer_addr.sin_addr;

#if LOG_LEVEL >= LOG_LEVEL_DEBUG
// Create the human readable format and copy that into
// the .server_hostname field of the federate.
Expand Down Expand Up @@ -1479,9 +1479,9 @@ void* respond_to_erroneous_connections(void* nothing) {
// The following will block until either a federate attempts to connect
// or close(rti->socket_descriptor_TCP) is called.
int socket_id = accept_socket(rti_remote->socket_descriptor_TCP, -1);
if (socket_id < 0)
if (socket_id < 0) {
return NULL;

}
if (rti_remote->all_federates_exited) {
return NULL;
}
Expand Down

0 comments on commit efbce31

Please sign in to comment.