projects
/
apps
/
madmutt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
cac1491
)
fix small bug from julien
author
Pierre Habouzit
<madcoder@debian.org>
Sat, 4 Nov 2006 00:50:31 +0000
(
01:50
+0100)
committer
Pierre Habouzit
<madcoder@debian.org>
Sat, 4 Nov 2006 00:50:31 +0000
(
01:50
+0100)
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
attach.c
patch
|
blob
|
history
diff --git
a/attach.c
b/attach.c
index
3323af6
..
e1cd5b6
100644
(file)
--- a/
attach.c
+++ b/
attach.c
@@
-325,6
+325,8
@@
void mutt_check_lookup_list (BODY * b, char *type, int len)
BODY tmp;
int n;
BODY tmp;
int n;
+ p_clear(&tmp, 1);
+
if ((n = mutt_lookup_mime_type (&tmp, b->filename)) != TYPEOTHER) {
snprintf (type, len, "%s/%s",
n == TYPEAUDIO ? "audio" :
if ((n = mutt_lookup_mime_type (&tmp, b->filename)) != TYPEOTHER) {
snprintf (type, len, "%s/%s",
n == TYPEAUDIO ? "audio" :