# include "config.h"
#endif
-#include "lib/mem.h"
-#include "lib/intl.h"
+#include <lib-lib/mem.h>
+
+#include <lib-lib/macros.h>
#include "lib/debug.h"
#include "mutt.h"
+#include "ascii.h"
#include "imap_private.h"
#include "auth.h"
#endif
{imap_auth_login, "login"},
- {NULL}
+ {NULL, NULL}
};
/* imap_authenticate: Attempt to authenticate using either user-specified
!ascii_strcasecmp (authenticator->method, method))
if ((r = authenticator->authenticate (idata, method)) !=
IMAP_AUTH_UNAVAIL) {
- mem_free (&methods);
+ p_delete(&methods);
return r;
}
}
}
- mem_free (&methods);
+ p_delete(&methods);
}
else {
/* Fall back to default: any authenticator */