Function name in definition belong left-aligned. Body of if statement
cannot be on the same line as the "if".
*
* 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;
strcmp(entries[i]->d_name, "tmp") == 0)
{
found++;
- if (found == 3) return 1;
+ if (found == 3)
+ return 1;
}
}