summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2014-06-28 19:01:24 +0000
committerChristian Pointner <equinox@anytun.org>2014-06-28 19:01:24 +0000
commit7e9df8e47eb5a350b760d6dd113535da0d2a1d70 (patch)
tree7bab0dd951867f80ebf9d6ccb5bc7f290cbc834e
parentadded exception to the license which allows linking against OpenSSL (diff)
while(1) vs. for(;;)
-rw-r--r--src/seq_window.c2
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