From: Carl Worth Date: Sat, 28 Nov 2009 03:38:46 +0000 (-0800) Subject: Fix up whitespace styling from previous commit. X-Git-Tag: 0.1~310 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=fb1a3452dac707f7f4dfb359452c102bfcd2c18f 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". --- 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; } }