projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rocco Rutte:
[apps/madmutt.git]
/
send.c
diff --git
a/send.c
b/send.c
index
22d4c90
..
d789804
100644
(file)
--- a/
send.c
+++ b/
send.c
@@
-16,7
+16,6
@@
#include "rfc2047.h"
#include "keymap.h"
#include "mime.h"
#include "rfc2047.h"
#include "keymap.h"
#include "mime.h"
-#include "mailbox.h"
#include "copy.h"
#include "mx.h"
#include "mutt_crypt.h"
#include "copy.h"
#include "mx.h"
#include "mutt_crypt.h"
@@
-26,6
+25,7
@@
#include "lib/mem.h"
#include "lib/intl.h"
#include "lib/str.h"
#include "lib/mem.h"
#include "lib/intl.h"
#include "lib/str.h"
+#include "lib/debug.h"
#include <ctype.h>
#include <stdlib.h>
#include <ctype.h>
#include <stdlib.h>
@@
-1209,10
+1209,8
@@
int ci_send_message (int flags, /* send mode */
}
if (!tempfp) {
}
if (!tempfp) {
- dprint (1,
- (debugfile,
- "newsend_message: can't create tempfile %s (errno=%d)\n",
- msg->content->filename, errno));
+ debug_print (1, ("can't create tempfile %s (errno=%d)\n",
+ msg->content->filename, errno));
mutt_perror (msg->content->filename);
goto cleanup;
}
mutt_perror (msg->content->filename);
goto cleanup;
}
@@
-1663,7
+1661,7
@@
int ci_send_message (int flags, /* send mode */
*/
#ifdef USE_IMAP
*/
#ifdef USE_IMAP
- if ((flags & SENDBATCH) && fcc[0] && mx_
is_imap (fcc)
)
+ if ((flags & SENDBATCH) && fcc[0] && mx_
get_magic (fcc) == M_IMAP
)
fcc[0] = '\0';
#endif
fcc[0] = '\0';
#endif