Minor syntax change, patty_ax25_sock_ack_pending()

This commit is contained in:
XANTRONIX Development 2020-08-19 22:25:12 -04:00 committed by XANTRONIX Industrial
parent 1fd1be2cb6
commit cd943f5c9c

View file

@ -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++;
} }
} }