X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=pgpkey.c;h=daa3a24aafb27422d1654993d7454a914cdb0f4c;hp=b6e0795077b07ee21a8b3bf4c3e0c8121671c72f;hb=9c02039bb94c2fb846e0226c321c7dd79df455c4;hpb=c3e57678c8be193fc137854020f3a90887be97c9 diff --git a/pgpkey.c b/pgpkey.c index b6e0795..daa3a24 100644 --- a/pgpkey.c +++ b/pgpkey.c @@ -20,6 +20,10 @@ #include "pager.h" #include "sort.h" +#include "lib/mem.h" +#include "lib/intl.h" +#include "lib/str.h" + #include #include #include @@ -758,7 +762,7 @@ static LIST *pgp_add_string_to_hints (LIST * hints, const char *str) for (t = strtok (scratch, " ,.:\"()<>\n"); t; t = strtok (NULL, " ,.:\"()<>\n")) { - if (strlen (t) > 3) + if (mutt_strlen (t) > 3) hints = mutt_add_list (hints, t); }