remove most of the debug code: often makes the code unreadable, for little
[apps/madmutt.git] / imap / auth_anon.c
index 7c2dfba..16ef189 100644 (file)
 #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)
+imap_auth_res_t imap_auth_anon (IMAP_DATA * idata, const char *method __attribute__ ((unused)))
 {
   int rc;
 
@@ -43,7 +42,6 @@ imap_auth_res_t imap_auth_anon (IMAP_DATA * idata, const char *method)
   while (rc == IMAP_CMD_CONTINUE);
 
   if (rc != IMAP_CMD_RESPOND) {
-    debug_print (1, ("Invalid response from server.\n"));
     goto bail;
   }
 
@@ -54,7 +52,6 @@ imap_auth_res_t imap_auth_anon (IMAP_DATA * idata, const char *method)
   while (rc == IMAP_CMD_CONTINUE);
 
   if (rc != IMAP_CMD_OK) {
-    debug_print (1, ("Error receiving server response.\n"));
     goto bail;
   }