Stay out of tmp to respect the Maildir spec.

This commit is contained in:
Jed Brown 2009-11-23 21:57:33 +01:00 committed by Carl Worth
parent bc0a873b18
commit f667bad7a5

View file

@ -159,6 +159,7 @@ add_files_recursive (notmuch_database_t *notmuch,
* user specify files to be ignored. */
if (strcmp (entry->d_name, ".") == 0 ||
strcmp (entry->d_name, "..") == 0 ||
strcmp (entry->d_name, "tmp") == 0 ||
strcmp (entry->d_name, ".notmuch") ==0)
{
continue;