Skip to content

Commit 2a22534

Browse files
committed
server session MAINTENANCE code formatting
1 parent 294dc34 commit 2a22534

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/session_server.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2958,8 +2958,7 @@ nc_ch_client_thread(void *arg)
29582958
/* set next endpoint to try */
29592959
if (client->start_with == NC_CH_FIRST_LISTED) {
29602960
next_endpt_index = 0;
2961-
}
2962-
else {
2961+
} else {
29632962
/* we keep the current one but due to unlock/lock we have to find it again */
29642963
for (next_endpt_index = 0; next_endpt_index < client->ch_endpt_count; ++next_endpt_index) {
29652964
if (!strcmp(client->ch_endpts[next_endpt_index].name, cur_endpt_name)) {
@@ -3005,7 +3004,7 @@ nc_ch_client_thread(void *arg)
30053004
++next_endpt_index;
30063005
} else {
30073006
/* cur_endpoint is the last, start with the first one */
3008-
next_endpt_index = 0;
3007+
next_endpt_index = 0;
30093008
}
30103009

30113010
cur_attempts = 0;

0 commit comments

Comments
 (0)