Minor syntax change, patty_ax25_sock_ack_pending()
This commit is contained in:
parent
1fd1be2cb6
commit
cd943f5c9c
1 changed files with 1 additions and 1 deletions
|
@ -721,7 +721,7 @@ int patty_ax25_sock_ack_pending(patty_ax25_sock *sock) {
|
||||||
for (i=0; i<sock->n_window_tx; i++) {
|
for (i=0; i<sock->n_window_tx; i++) {
|
||||||
struct slot *slot = tx_slot(sock, i);
|
struct slot *slot = tx_slot(sock, i);
|
||||||
|
|
||||||
if (slot->len > 0 && slot->ack == 0) {
|
if (slot->len > 0 && !slot->ack) {
|
||||||
ret++;
|
ret++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue