X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=crypt.c;fp=crypt.c;h=56b1571f6e88e25b86b484392d61f6c37b6fd129;hp=1512286c09b9faac2385fcd9f556a90490654e2a;hb=7f7a0be369840b290248e5b0302beb447fa1b3cd;hpb=308c7080ccca40d4865d8810f5528331d9ed61ff diff --git a/crypt.c b/crypt.c index 1512286..56b1571 100644 --- a/crypt.c +++ b/crypt.c @@ -16,6 +16,7 @@ # include "config.h" #endif +#include #include #include @@ -28,7 +29,6 @@ #include "mutt_crypt.h" #include "pgp.h" -#include "lib/str.h" #include #include @@ -389,7 +389,7 @@ int mutt_is_application_smime (BODY * m) /* no .p7c, .p10 support yet. */ - len = str_len (t) - 4; + len = m_strlen(t) - 4; if (len > 0 && *(t + len) == '.') { len++; if (!ascii_strcasecmp ((t + len), "p7m"))