aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch-new.c
diff options
context:
space:
mode:
authorGravatar Jed Brown <jed@59A2.org>2009-11-23 21:57:33 +0100
committerGravatar Carl Worth <cworth@cworth.org>2009-11-23 18:29:01 -0800
commitf667bad7a5530b3a53caa191d14b9f41781750cc (patch)
tree15849ff23c595daababc12e8ef2e100a432e5e70 /notmuch-new.c
parentbc0a873b18cd77572c53369e5899134102f93e5e (diff)
Stay out of tmp to respect the Maildir spec.
Diffstat (limited to 'notmuch-new.c')
-rw-r--r--notmuch-new.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/notmuch-new.c b/notmuch-new.c
index 8172b498..e32b92a5 100644
--- a/notmuch-new.c
+++ b/notmuch-new.c
@@ -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;