if ((mutt_str_strncasecmp(s, "UTF8=ACCEPT", 11) == 0) ||
(mutt_str_strncasecmp(s, "UTF8=ONLY", 9) == 0))
{
- mdata->unicode = 1;
+ mdata->unicode = true;
}
if (mutt_str_strncasecmp(s, "QRESYNC", 7) == 0)
- mdata->qresync = 1;
+ mdata->qresync = true;
}
}
char *buf;
size_t blen;
- /* If nonzero, we can send UTF-8, and the server will use UTF8 rather
- * than mUTF7 */
- int unicode;
-
- int qresync; /* Set to 1 if QRESYNC is successfully ENABLE'd */
+ bool unicode; /* If true, we can send UTF-8, and the server will use UTF8 rather than mUTF7 */
+ bool qresync; /* true, if QRESYNC is successfully ENABLE'd */
/* if set, the response parser will store results for complicated commands
* here. */