projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more work in the lib-mime. begin to "rewr^H^Had" the code in rfc2231.c
[apps/madmutt.git]
/
mutt_libesmtp.c
diff --git
a/mutt_libesmtp.c
b/mutt_libesmtp.c
index
ab858f1
..
11ea993
100644
(file)
--- a/
mutt_libesmtp.c
+++ b/
mutt_libesmtp.c
@@
-16,10
+16,10
@@
#include <lib-lib/mem.h>
#include <lib-lib/str.h>
#include <lib-lib/mem.h>
#include <lib-lib/str.h>
+#include <lib-lib/ascii.h>
#include <lib-lib/macros.h>
#include "mutt.h"
#include <lib-lib/macros.h>
#include "mutt.h"
-#include "ascii.h"
#include "enter.h"
#include "enter.h"
@@
-288,8
+288,8
@@
int mutt_libesmtp_check_usetls (const char* option, unsigned long p,
char* val = (char*) p;
if (!val || !*val)
return (1);
char* val = (char*) p;
if (!val || !*val)
return (1);
- if (
str_ncmp
(val, "enabled", 7) != 0 &&
-
str_ncmp
(val, "required", 8) != 0) {
+ if (
m_strncmp
(val, "enabled", 7) != 0 &&
+
m_strncmp
(val, "required", 8) != 0) {
if (errbuf)
snprintf (errbuf, errlen, _("'%s' is invalid for %s"), val, option);
return (0);
if (errbuf)
snprintf (errbuf, errlen, _("'%s' is invalid for %s"), val, option);
return (0);