X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=sendlib.c;h=7c22e2b1bce6e28f5fe87d1643c4169f807d69d7;hb=91d0c04349c9345f0ee29a61cc18dfc144b60edc;hp=b06696fc34f9b51441fd2ab74feb47999e251938;hpb=bec523bb3ad78ec9100efb18fb58d43d38b304de;p=apps%2Fmadmutt.git diff --git a/sendlib.c b/sendlib.c index b06696f..7c22e2b 100644 --- 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) {