projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
revamp lib.[hc] functions into lib-lib/file.[hc].
[apps/madmutt.git]
/
crypt.c
diff --git
a/crypt.c
b/crypt.c
index
1512286
..
923b8d7
100644
(file)
--- a/
crypt.c
+++ b/
crypt.c
@@
-16,11
+16,13
@@
# include "config.h"
#endif
# include "config.h"
#endif
+#include <lib-lib/str.h>
+#include <lib-lib/file.h>
+#include <lib-lib/ascii.h>
#include <lib-lib/mem.h>
#include <lib-lib/macros.h>
#include "mutt.h"
#include <lib-lib/mem.h>
#include <lib-lib/macros.h>
#include "mutt.h"
-#include "ascii.h"
#include "handler.h"
#include "mutt_curses.h"
#include "mime.h"
#include "handler.h"
#include "mutt_curses.h"
#include "mime.h"
@@
-28,7
+30,6
@@
#include "mutt_crypt.h"
#include "pgp.h"
#include "mutt_crypt.h"
#include "pgp.h"
-#include "lib/str.h"
#include <sys/wait.h>
#include <string.h>
#include <sys/wait.h>
#include <string.h>
@@
-389,7
+390,7
@@
int mutt_is_application_smime (BODY * m)
/* no .p7c, .p10 support yet. */
/* 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"))
if (len > 0 && *(t + len) == '.') {
len++;
if (!ascii_strcasecmp ((t + len), "p7m"))