projects
/
notmuch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d478384
)
More debug messages
author
Ali Polatel
<alip@exherbo.org>
Wed, 26 May 2010 07:55:39 +0000
(10:55 +0300)
committer
Ali Polatel
<alip@exherbo.org>
Fri, 4 Nov 2011 23:12:35 +0000
(
01:12
+0200)
contrib/notmuch-deliver/src/main.c
patch
|
blob
|
history
diff --git
a/contrib/notmuch-deliver/src/main.c
b/contrib/notmuch-deliver/src/main.c
index e73a5b503d3fdb9aa03676beb7ed61207eb0d385..49919ff10591631f4a06f7c808fe5f2fe035d0da 100644
(file)
--- a/
contrib/notmuch-deliver/src/main.c
+++ b/
contrib/notmuch-deliver/src/main.c
@@
-261,6
+261,7
@@
save_database(notmuch_database_t *db, const char *path, char **default_tags)
case NOTMUCH_STATUS_SUCCESS:
break;
case NOTMUCH_STATUS_DUPLICATE_MESSAGE_ID:
+ g_debug("Message is a duplicate, not adding tags");
return 0;
default:
g_warning("Failed to add `%s' to notmuch database: %s",
@@
-364,6
+365,7
@@
main(int argc, char **argv)
g_free(maildir);
if ((ret = save_database(db, mail, conf_tags)) != 0 && opt_fatal) {
+ g_warning("Unlinking `%s'", mail);
unlink(mail);
return ret;
}