remove most of the debug code: often makes the code unreadable, for little
[apps/madmutt.git] / send.c
diff --git a/send.c b/send.c
index 6821f01..9d85a9e 100644 (file)
--- a/send.c
+++ b/send.c
@@ -28,7 +28,6 @@
 #include <lib-lib/ascii.h>
 #include <lib-lib/macros.h>
 #include <lib-lib/file.h>
-#include <lib-lib/debug.h>
 #include <lib-lib/url.h>
 
 #include <lib-mime/mime.h>
@@ -37,6 +36,7 @@
 #include <lib-ui/enter.h>
 
 #include "mutt.h"
+#include "alias.h"
 #include "rfc3676.h"
 #include "keymap.h"
 #include "copy.h"
@@ -1208,8 +1208,6 @@ int ci_send_message (int flags, /* send mode */
     }
 
     if (!tempfp) {
-      debug_print (1, ("can't create tempfile %s (errno=%d)\n", 
-                  msg->content->filename, errno));
       mutt_perror (msg->content->filename);
       goto cleanup;
     }