rationnalize includes a lot:
[apps/madmutt.git] / imap / auth_anon.c
index cb3fe72..47ccf40 100644 (file)
@@ -9,17 +9,12 @@
 
 /* IMAP login/authentication code */
 
-#if HAVE_CONFIG_H
-# include "config.h"
-#endif
+#include <lib-lib/lib-lib.h>
 
 #include "mutt.h"
 #include "imap_private.h"
 #include "auth.h"
 
-#include <lib-lib/macros.h>
-#include <lib-lib/debug.h>
-
 /* this is basically a stripped-down version of the cram-md5 method. */
 imap_auth_res_t imap_auth_anon (IMAP_DATA * idata, const char *method __attribute__ ((unused)))
 {
@@ -43,7 +38,6 @@ imap_auth_res_t imap_auth_anon (IMAP_DATA * idata, const char *method __attribut
   while (rc == IMAP_CMD_CONTINUE);
 
   if (rc != IMAP_CMD_RESPOND) {
-    debug_print (1, ("Invalid response from server.\n"));
     goto bail;
   }
 
@@ -54,7 +48,6 @@ imap_auth_res_t imap_auth_anon (IMAP_DATA * idata, const char *method __attribut
   while (rc == IMAP_CMD_CONTINUE);
 
   if (rc != IMAP_CMD_OK) {
-    debug_print (1, ("Error receiving server response.\n"));
     goto bail;
   }