remove yet anoter round of str_* functions, replaced with their inlineable
[apps/madmutt.git] / pgp.c
diff --git a/pgp.c b/pgp.c
index 13104bc..33213bd 100644 (file)
--- a/pgp.c
+++ b/pgp.c
@@ -269,7 +269,7 @@ int pgp_application_pgp_handler (BODY * m, STATE * s)
     bytes -= (offset - last_pos);       /* don't rely on m_strlen(buf) */
     last_pos = offset;
 
-    if (str_ncmp ("-----BEGIN PGP ", buf, 15) == 0) {
+    if (m_strncmp("-----BEGIN PGP ", buf, 15) == 0) {
       clearsign = 0;
       start_pos = last_pos;
 
@@ -507,7 +507,7 @@ static int pgp_check_traditional_one_body (FILE * fp, BODY * b,
   }
 
   while (fgets (buf, sizeof (buf), tfp)) {
-    if (str_ncmp ("-----BEGIN PGP ", buf, 15) == 0) {
+    if (m_strncmp("-----BEGIN PGP ", buf, 15) == 0) {
       if (m_strcmp("MESSAGE-----\n", buf + 15) == 0)
         enc = 1;
       else if (m_strcmp("SIGNED MESSAGE-----\n", buf + 15) == 0)