indent is a fool
authorPierre Habouzit <madcoder@debian.org>
Tue, 31 Oct 2006 23:28:28 +0000 (00:28 +0100)
committerPierre 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

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) {