Minor formatting tweaks for searchability
This commit is contained in:
parent
d88e8512b8
commit
609a7271e5
1 changed files with 2 additions and 6 deletions
|
@ -2151,9 +2151,7 @@ static int handle_sock(uint32_t key,
|
||||||
case PATTY_AX25_SOCK_ESTABLISHED:
|
case PATTY_AX25_SOCK_ESTABLISHED:
|
||||||
if (patty_timer_expired(&sock->timer_t1)) {
|
if (patty_timer_expired(&sock->timer_t1)) {
|
||||||
if (sock->retries) {
|
if (sock->retries) {
|
||||||
int ret = patty_ax25_sock_send_rr(sock,
|
int ret = patty_ax25_sock_send_rr(sock, PATTY_AX25_FRAME_COMMAND, 1);
|
||||||
PATTY_AX25_FRAME_COMMAND,
|
|
||||||
1);
|
|
||||||
|
|
||||||
sock->retries--;
|
sock->retries--;
|
||||||
patty_timer_start(&sock->timer_t1);
|
patty_timer_start(&sock->timer_t1);
|
||||||
|
@ -2172,9 +2170,7 @@ static int handle_sock(uint32_t key,
|
||||||
if (sock->rx_pending) {
|
if (sock->rx_pending) {
|
||||||
sock->rx_pending = 0;
|
sock->rx_pending = 0;
|
||||||
|
|
||||||
return patty_ax25_sock_send_rr(sock,
|
return patty_ax25_sock_send_rr(sock, PATTY_AX25_FRAME_RESPONSE, 1);
|
||||||
PATTY_AX25_FRAME_RESPONSE,
|
|
||||||
0);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue