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]
/
main.c
diff --git
a/main.c
b/main.c
index
1d3d349
..
69ecf02
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-799,7
+799,7
@@
int main (int argc, char **argv)
}
if (subject)
}
if (subject)
- msg->env->subject = s
afe_str
dup (subject);
+ msg->env->subject = s
tr_
dup (subject);
if (includeFile)
infile = includeFile;
if (includeFile)
infile = includeFile;
@@
-807,7
+807,7
@@
int main (int argc, char **argv)
if (infile || bodytext) {
if (infile) {
if (infile || bodytext) {
if (infile) {
- if (
mutt_str
cmp ("-", infile) == 0)
+ if (
str_
cmp ("-", infile) == 0)
fin = stdin;
else {
char path[_POSIX_PATH_MAX];
fin = stdin;
else {
char path[_POSIX_PATH_MAX];
@@
-826,7
+826,7
@@
int main (int argc, char **argv)
fin = NULL;
mutt_mktemp (buf);
fin = NULL;
mutt_mktemp (buf);
- tempfile = s
afe_str
dup (buf);
+ tempfile = s
tr_
dup (buf);
if (draftFile)
msg->env = mutt_read_rfc822_header (fin, NULL, 1, 0);
if (draftFile)
msg->env = mutt_read_rfc822_header (fin, NULL, 1, 0);
@@
-841,7
+841,7
@@
int main (int argc, char **argv)
mutt_endwin (NULL);
perror (tempfile);
fclose (fin);
mutt_endwin (NULL);
perror (tempfile);
fclose (fin);
-
FREE
(&tempfile);
+
mem_free
(&tempfile);
exit (1);
}
if (fin)
exit (1);
}
if (fin)
@@
-854,7
+854,7
@@
int main (int argc, char **argv)
}
}
}
}
-
FREE
(&bodytext);
+
mem_free
(&bodytext);
if (attach) {
LIST *t = attach;
if (attach) {
LIST *t = attach;
@@
-956,7
+956,7
@@
int main (int argc, char **argv)
if (option (OPTXTERMSETTITLES))
mutt_xterm_set_title (NONULL (XtermLeave));
if (Context)
if (option (OPTXTERMSETTITLES))
mutt_xterm_set_title (NONULL (XtermLeave));
if (Context)
-
FREE
(&Context);
+
mem_free
(&Context);
}
mutt_endwin (Errorbuf);
}
}
mutt_endwin (Errorbuf);
}