ctors/dtors for BODY's
[apps/madmutt.git] / imap / auth_anon.c
index e488827..16ef189 100644 (file)
 #include "imap_private.h"
 #include "auth.h"
 
+#include <lib-lib/macros.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;
 
@@ -40,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) {
-    dprint (1, (debugfile, "Invalid response from server.\n"));
     goto bail;
   }
 
@@ -51,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) {
-    dprint (1, (debugfile, "Error receiving server response.\n"));
     goto bail;
   }