summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2010-03-31 13:28:45 -0700
committerCarl Worth <cworth@cworth.org>2010-03-31 13:31:10 -0700
commite002fe8a7adcc8b8df20107e4617be97983662fa (patch)
tree7931e600699375345a6ec2736fd48664291b72ea
parent357b48d34b9cd32473d39321b1ae460d05f5c7cd (diff)
Clarify documentation of notmuch_database_add_message.
For the case of adding a file that already exist, (with the same filename). In this case, nothing will happen to the database, but that wasn't clear before.
-rw-r--r--lib/notmuch.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/notmuch.h b/lib/notmuch.h
index 0d9cb0f..88da078 100644
--- a/lib/notmuch.h
+++ b/lib/notmuch.h
@@ -247,8 +247,9 @@ notmuch_database_get_directory (notmuch_database_t *database,
* NOTMUCH_STATUS_SUCCESS: Message successfully added to database.
*
* NOTMUCH_STATUS_DUPLICATE_MESSAGE_ID: Message has the same message
- * ID as another message already in the database. The new filename
- * was successfully added to the message in the database.
+ * ID as another message already in the database. The new
+ * filename was successfully added to the message in the database
+ * (if not already present).
*
* NOTMUCH_STATUS_FILE_ERROR: an error occurred trying to open the
* file, (such as permission denied, or file not found,