X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=nntp%2Fnewsrc.c;h=66ff3f282c860eb515223f76522e22038b3a2707;hb=c98480f8568e6c1bc927c6c5f2b5e80b4aa6548c;hp=ff9df9e0e1c9048998dcab9018a0038526ed85a4;hpb=46874ad2a0d0a6a66e4bfec16dfa349bf07c632a;p=apps%2Fmadmutt.git diff --git a/nntp/newsrc.c b/nntp/newsrc.c index ff9df9e..66ff3f2 100644 --- a/nntp/newsrc.c +++ b/nntp/newsrc.c @@ -208,8 +208,8 @@ static int nntp_parse_cacheindex (NNTP_SERVER * news) rewind (index); while (fgets (buf, sizeof (buf), index)) { buf[m_strlen(buf) - 1] = 0; /* strip ending '\n' */ - if (!str_ncmp (buf, "#: ", 3) && - !str_casecmp (buf + 3, news->conn->account.host)) + if (!m_strncmp(buf, "#: ", 3) && + !m_strcasecmp(buf + 3, news->conn->account.host)) break; } while (fgets (buf, sizeof (buf), index)) { @@ -672,7 +672,7 @@ static int mutt_update_list_file (char *filename, char *section, c = buf; while (*c && *c != '\n') c++; c[0] = 0; /* strip EOL */ - if (!strncmp (buf, "#: ", 3) && !str_casecmp (buf+3, section)) + if (!strncmp (buf, "#: ", 3) && !m_strcasecmp(buf+3, section)) done++; } if (r != EOF && !done) {