Skip to content

Commit

Permalink
Loop condition is redundant
Browse files Browse the repository at this point in the history
  • Loading branch information
arr2036 committed Mar 21, 2014
1 parent 01a6ffc commit 01ea675
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/rlm_rest/rest.c
Expand Up @@ -640,7 +640,7 @@ static size_t rest_encode_json(void *out, size_t size, size_t nmemb, void *userd
freespace--;
}

while (freespace > 0) {
for (;;) {
vp = fr_cursor_current(&ctx->cursor);

/*
Expand Down

0 comments on commit 01ea675

Please sign in to comment.