X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=nntp%2Fnewsrc.c;h=22b6cf393d2bfcb58a75f79e4ba51bb3b3618b35;hp=fb5fc1bf6cd7a5c91389579a9a0866e64469cfe0;hb=2ea77d3b2827ba23feb756ce2fb936565ae38998;hpb=3e611c4b53a33408955152e1c9336f8643ea096e diff --git a/nntp/newsrc.c b/nntp/newsrc.c index fb5fc1b..22b6cf3 100644 --- a/nntp/newsrc.c +++ b/nntp/newsrc.c @@ -218,10 +218,10 @@ static int nntp_parse_cacheindex (NNTP_SERVER * news) if (!*cp) continue; cp[0] = 0; - if (!str_cmp (buf, "#:")) + if (!m_strcmp(buf, "#:")) break; sscanf (cp + 1, "%s %d %d", file, &l, &m); - if (!str_cmp (buf, "ALL")) { + if (!m_strcmp(buf, "ALL")) { news->cache = m_strdup(file); news->newgroups_time = m; } @@ -1085,7 +1085,7 @@ void nntp_buffy (char* dst, size_t dstlen) { NNTP_DATA *data = (NNTP_DATA *) list->data; if (data && data->subscribed && data->unread && Context && Context->magic == M_NNTP && - str_cmp (data->group, ((NNTP_DATA *) Context->data)->group) == 0) { + m_strcmp(data->group, ((NNTP_DATA *) Context->data)->group) == 0) { list = list->next; break; } @@ -1103,7 +1103,7 @@ void nntp_buffy (char* dst, size_t dstlen) { if (data && data->subscribed && data->unread) { if (Context && Context->magic == M_NNTP && - !str_cmp (data->group, ((NNTP_DATA *) Context->data)->group)) { + !m_strcmp(data->group, ((NNTP_DATA *) Context->data)->group)) { unsigned int i, unread = 0; for (i = 0; i < Context->msgcount; i++)