projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
some dead code, old things, fix idna *again*
[apps/madmutt.git]
/
imap
/
auth.c
diff --git
a/imap/auth.c
b/imap/auth.c
index
4861fbb
..
d4b4efd
100644
(file)
--- a/
imap/auth.c
+++ b/
imap/auth.c
@@
-17,12
+17,10
@@
#include <lib-lib/mem.h>
#include <lib-lib/mem.h>
-#include "lib/mem.h"
-#include "lib/intl.h"
-#include "lib/debug.h"
+#include <lib-lib/macros.h>
+#include <lib-lib/ascii.h>
#include "mutt.h"
#include "mutt.h"
-#include "ascii.h"
#include "imap_private.h"
#include "auth.h"
#include "imap_private.h"
#include "auth.h"
@@
-56,7
+54,7
@@
int imap_authenticate (IMAP_DATA * idata)
if (ImapAuthenticators && *ImapAuthenticators) {
/* Try user-specified list of authentication methods */
if (ImapAuthenticators && *ImapAuthenticators) {
/* Try user-specified list of authentication methods */
- methods =
str_dup
(ImapAuthenticators);
+ methods =
m_strdup
(ImapAuthenticators);
for (method = methods; method; method = delim) {
delim = strchr (method, ':');
for (method = methods; method; method = delim) {
delim = strchr (method, ':');
@@
-65,7
+63,6
@@
int imap_authenticate (IMAP_DATA * idata)
if (!method[0])
continue;
if (!method[0])
continue;
- debug_print (2, ("Trying method %s\n", method));
authenticator = imap_authenticators;
while (authenticator->authenticate) {
authenticator = imap_authenticators;
while (authenticator->authenticate) {
@@
-85,7
+82,6
@@
int imap_authenticate (IMAP_DATA * idata)
}
else {
/* Fall back to default: any authenticator */
}
else {
/* Fall back to default: any authenticator */
- debug_print (2, ("Using any available method.\n"));
authenticator = imap_authenticators;
while (authenticator->authenticate) {
authenticator = imap_authenticators;
while (authenticator->authenticate) {