Replace 0/1 with false/true
bool mutt_match_rx_list(const char *s, struct RxList *l)
{
if (!s)
- return 0;
+ return false;
for (; l; l = l->next)
{
nntp_data->deleted = false;
nntp_data->firstMessage = first;
nntp_data->lastMessage = last;
- nntp_data->allowed = (mod == 'y') || (mod == 'm') ? true : false;
+ nntp_data->allowed = (mod == 'y') || (mod == 'm');
mutt_str_replace(&nntp_data->desc, desc);
if (nntp_data->newsrc_ent || nntp_data->lastCached)
nntp_group_unread_stat(nntp_data);
while ((++i < idxlen) && idx[i]->level > level)
{
if (idx[i]->content == cur)
- return 1;
+ return true;
}
- return 0;
+ return false;
}
static struct Header *find_parent(struct AttachPtr **idx, short idxlen,