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