char *ob = *outbuf;
size_t obl = *outbytesleft;
- for (;;)
+ while (true)
{
ret1 = iconv(cd, &ib, &ibl, &ob, &obl);
if (ret1 != (size_t) -1)
else
hclass = HC_OTHER;
- for (;;)
+ while (true)
{
if (redraw && !pass)
{
ib = bufi;
ibl = *l;
- for (;;)
+ while (true)
{
ob = bufo, obl = sizeof(bufo);
mutt_iconv(cd, &ib, &ibl, &ob, &obl, 0, "?");
}
}
- for (;;)
+ while (true)
{
resp[0] = 0;
if (mutt_get_field(tag, resp, sizeof(resp), MUTT_CLEAR) != 0)
int utf8 = fromcode && (mutt_str_strcasecmp(fromcode, "utf-8") == 0);
n = dlen;
- for (;;)
+ while (true)
{
assert(d + n > d);
nn = try_block(d, n, fromcode, tocode, encoder, wlen);
col += t0 - u;
t = t0;
- for (;;)
+ while (true)
{
/* Find how much we can encode. */
n = choose_block(t, t1 - t, col, icode, tocode, &encoder, &wlen);
int n;
*strp = mutt_mem_malloc(rlen);
- for (;;)
+ while (true)
{
va_list ap;
va_start(ap, fmt);
rewind(file);
ibl = 0;
- for (;;)
+ while (true)
{
/* Try to fill input buffer */
n = fread(bufi + ibl, 1, sizeof(bufi) - ibl, file);