* mu-maildir.c: small refactoring to satisfy 'make line33'

This commit is contained in:
Dirk-Jan C. Binnema
2010-02-09 21:53:12 +02:00
parent 46e3037634
commit a4471e6bdd

View File

@ -425,12 +425,6 @@ process_dir_entry (const char* path,
char *my_mdir;
MuResult rv;
/* if it has a noindex file, we ignore this dir */
if (has_noindex_file (fullpath)) {
g_debug ("ignoring dir %s", fullpath);
return MU_OK;
}
my_mdir = get_mdir_for_path (mdir, entry->d_name);
rv = process_dir (fullpath, my_mdir, cb_msg, cb_dir, data);
g_free (my_mdir);
@ -513,6 +507,12 @@ process_dir (const char* path, const char* mdir,
MuResult result;
DIR* dir;
/* if it has a noindex file, we ignore this dir */
if (has_noindex_file (path)) {
g_debug ("found .noindex: ignoring dir %s", path);
return MU_OK;
}
dir = opendir (path);
if (G_UNLIKELY(!dir)) {
g_warning ("%s: ignoring %s: %s", path,