X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=imap%2Fauth.c;h=448220ea31ed5959601e6f3a912c7a2a4793ceea;hp=48626f5bfd9bae5571194c3834a61804d6e75de3;hb=82d5d8ffc8cd4cf837736187eba9ddfd8b2e2f7f;hpb=c3e57678c8be193fc137854020f3a90887be97c9 diff --git a/imap/auth.c b/imap/auth.c index 48626f5..448220e 100644 --- a/imap/auth.c +++ b/imap/auth.c @@ -15,6 +15,10 @@ # include "config.h" #endif +#include "lib/mem.h" +#include "lib/intl.h" +#include "lib/debug.h" + #include "mutt.h" #include "imap_private.h" #include "auth.h" @@ -58,8 +62,7 @@ int imap_authenticate (IMAP_DATA * idata) if (!method[0]) continue; - dprint (2, - (debugfile, "imap_authenticate: Trying method %s\n", method)); + debug_print (2, ("Trying method %s\n", method)); authenticator = imap_authenticators; while (authenticator->authenticate) { @@ -79,8 +82,7 @@ int imap_authenticate (IMAP_DATA * idata) } else { /* Fall back to default: any authenticator */ - dprint (2, - (debugfile, "imap_authenticate: Using any available method.\n")); + debug_print (2, ("Using any available method.\n")); authenticator = imap_authenticators; while (authenticator->authenticate) {