Skip to content

Commit

Permalink
freebsd: fix compiling error with gcc 6.3.1
Browse files Browse the repository at this point in the history
Fix this misleading indentation according to the upstream of freebsd.

Signed-off-by: Li Wei <liwei@anbutu.com>
  • Loading branch information
liwei committed May 25, 2017
1 parent 3377ed7 commit 839295c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion freebsd/netinet/cc/cc_cubic.c
Original file line number Diff line number Diff line change
Expand Up @@ -261,9 +261,10 @@ cubic_cong_signal(struct cc_var *ccv, uint32_t type)
* chance the first one is a false alarm and may not indicate
* congestion.
*/
if (CCV(ccv, t_rxtshift) >= 2)
if (CCV(ccv, t_rxtshift) >= 2) {
cubic_data->num_cong_events++;
cubic_data->t_last_cong = ticks;
}
break;
}
}
Expand Down

0 comments on commit 839295c

Please sign in to comment.