projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Nico Golde:
[apps/madmutt.git]
/
send.c
diff --git
a/send.c
b/send.c
index
c9cbb3b
..
d789804
100644
(file)
--- a/
send.c
+++ b/
send.c
@@
-25,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>
@@
-1208,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;
}
@@
-1662,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