mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-25 12:28:09 +01:00
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".
This commit is contained in:
parent
24ae7718b7
commit
fb1a3452da
1 changed files with 4 additions and 2 deletions
|
@ -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.
|
* 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;
|
int i, found = 0;
|
||||||
|
|
||||||
|
@ -98,7 +99,8 @@ static int is_maildir (struct dirent **entries, int count)
|
||||||
strcmp(entries[i]->d_name, "tmp") == 0)
|
strcmp(entries[i]->d_name, "tmp") == 0)
|
||||||
{
|
{
|
||||||
found++;
|
found++;
|
||||||
if (found == 3) return 1;
|
if (found == 3)
|
||||||
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue