]> git.notmuchmail.org Git - notmuch/commitdiff
Fix indentation in guess_from_received_header().
authorDmitry Kurochkin <dmitry.kurochkin@gmail.com>
Wed, 15 Jun 2011 11:12:14 +0000 (15:12 +0400)
committerCarl Worth <cworth@cworth.org>
Wed, 15 Jun 2011 14:08:28 +0000 (07:08 -0700)
notmuch-reply.c

index 64f70bf74256fe317df62181212531cd36e91e7d..27ef37bd914cd0af1da57f8dd60bf33f1509cfce 100644 (file)
@@ -427,13 +427,13 @@ guess_from_received_header (notmuch_config_t *config, notmuch_message_t *message
 
            if (strcasestr(primary, domain)) {
                free(mta);
-           return primary;
-       }
-       for (i = 0; i < other_len; i++)
-           if (strcasestr (other[i],domain)) {
-               free(mta);
-               return other[i];
+               return primary;
            }
+           for (i = 0; i < other_len; i++)
+               if (strcasestr (other[i],domain)) {
+                   free(mta);
+                   return other[i];
+               }
        }
        free (mta);
     }