diff options
author | Christian Pointner <equinox@anytun.org> | 2014-06-28 19:01:24 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2014-06-28 19:01:24 +0000 |
commit | 7e9df8e47eb5a350b760d6dd113535da0d2a1d70 (patch) | |
tree | 7bab0dd951867f80ebf9d6ccb5bc7f290cbc834e | |
parent | added exception to the license which allows linking against OpenSSL (diff) |
while(1) vs. for(;;)
-rw-r--r-- | src/seq_window.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |