projects
/
apps
/
madmutt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bec523b
)
indent is a fool
author
Pierre Habouzit
<madcoder@debian.org>
Tue, 31 Oct 2006 23:28:28 +0000
(
00:28
+0100)
committer
Pierre Habouzit
<madcoder@debian.org>
Tue, 31 Oct 2006 23:28:28 +0000
(
00:28
+0100)
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
sendlib.c
patch
|
blob
|
history
diff --git
a/sendlib.c
b/sendlib.c
index
b06696f
..
7c22e2b
100644
(file)
--- a/
sendlib.c
+++ b/
sendlib.c
@@
-929,13
+929,9
@@
int mutt_lookup_mime_type (BODY * att, const char *path)
sze = m_strlen(p);
if ((sze > cur_sze) && (szf >= sze) &&
(m_strcasecmp(path + szf - sze, p) == 0
- || ascii_strcasecmp (path + szf - sze, p) == 0) && (szf == sze
- || path[szf
- -
- sze
- -
- 1]
- == '.')) {
+ || ascii_strcasecmp (path + szf - sze, p) == 0)
+ && (szf == sze || path[szf - sze - 1] == '.'))
+ {
/* get the content-type */
if ((p = strchr (ct, '/')) == NULL) {