aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch-new.c
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2009-11-27 19:38:46 -0800
committerGravatar Carl Worth <cworth@cworth.org>2009-11-27 19:38:46 -0800
commitfb1a3452dac707f7f4dfb359452c102bfcd2c18f (patch)
tree6e64eff8cd47b70fc47696b3c40b748940f19af4 /notmuch-new.c
parent24ae7718b738bcb4af0b5e1beac1fc40c06d45ef (diff)
Fix up whitespace styling from previous commit.
Function name in definition belong left-aligned. Body of if statement cannot be on the same line as the "if".
Diffstat (limited to 'notmuch-new.c')
-rw-r--r--notmuch-new.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/notmuch-new.c b/notmuch-new.c
index 72c6c587..6405cf0e 100644
--- a/notmuch-new.c
+++ b/notmuch-new.c
@@ -87,7 +87,8 @@ static int ino_cmp(const struct dirent **a, const struct dirent **b)
*
* Return 1 if the directory looks like a Maildir and 0 otherwise.
*/
-static int is_maildir (struct dirent **entries, int count)
+static int
+is_maildir (struct dirent **entries, int count)
{
int i, found = 0;
@@ -98,7 +99,8 @@ static int is_maildir (struct dirent **entries, int count)
strcmp(entries[i]->d_name, "tmp") == 0)
{
found++;
- if (found == 3) return 1;
+ if (found == 3)
+ return 1;
}
}