X-Git-Url: https://git.syn-net.org/?p=debian%2Fuanytun.git;a=blobdiff_plain;f=src%2Fseq_window.c;h=2d225a4a5644063afd3514d375dfc24374120a88;hp=fbeb3eb8cd44d7b5bf5c4e928d641526c0d93407;hb=cdb24b629ee2962b8d02cd7d0cf5d11a9b9bd59f;hpb=49edb2f365c78df40996baf53a984d8674978223 diff --git a/src/seq_window.c b/src/seq_window.c index fbeb3eb..2d225a4 100644 --- a/src/seq_window.c +++ b/src/seq_window.c @@ -214,7 +214,7 @@ void seq_win_print(seq_win_t* win) while(ptr) { printf(" [%u]: (%u)-", ptr->sender_id_, ptr->max_); window_size_t i = ptr->pos_; - while(1) { + for(;;) { if(ptr->window_[i]) printf("O"); else