remove yet anoter round of str_* functions, replaced with their inlineable
[apps/madmutt.git] / nntp / newsrc.c
index ff9df9e..66ff3f2 100644 (file)
@@ -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) {