Formatting tweaks
This commit is contained in:
parent
1493f913a7
commit
08509999c4
1 changed files with 4 additions and 2 deletions
|
@ -1332,7 +1332,6 @@ static int handle_ua(patty_ax25_server *server,
|
|||
}
|
||||
|
||||
patty_timer_stop(&sock->timer_t1);
|
||||
|
||||
patty_timer_start(&sock->timer_t3, PATTY_AX25_SOCK_DEFAULT_KEEPALIVE);
|
||||
|
||||
sock->state = PATTY_AX25_SOCK_ESTABLISHED;
|
||||
|
@ -1411,6 +1410,7 @@ static int handle_i(patty_ax25_server *server,
|
|||
|
||||
if (++sock->pending == sock->n_window_rx / 2) {
|
||||
sock->pending = 0;
|
||||
|
||||
patty_timer_stop(&sock->timer_t2);
|
||||
|
||||
return patty_ax25_sock_send_rr(sock, PATTY_AX25_FRAME_RESPONSE, 0);
|
||||
|
@ -1933,7 +1933,9 @@ static int handle_sock(uint32_t key,
|
|||
if (sock->pending) {
|
||||
sock->pending = 0;
|
||||
|
||||
return patty_ax25_sock_send_rr(sock, PATTY_AX25_FRAME_COMMAND, 0);
|
||||
return patty_ax25_sock_send_rr(sock,
|
||||
PATTY_AX25_FRAME_COMMAND,
|
||||
0);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue