]> git.notmuchmail.org Git - notmuch/commitdiff
Clarify documentation of notmuch_database_add_message.
authorCarl Worth <cworth@cworth.org>
Wed, 31 Mar 2010 20:28:45 +0000 (13:28 -0700)
committerCarl Worth <cworth@cworth.org>
Wed, 31 Mar 2010 20:31:10 +0000 (13:31 -0700)
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.

lib/notmuch.h

index 0d9cb0f597399332e84c34b94331b4d445e1e3c0..88da07898eb20958154d80e5cfb72e054b6a2981 100644 (file)
@@ -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
  * 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,
  *
  * NOTMUCH_STATUS_FILE_ERROR: an error occurred trying to open the
  *     file, (such as permission denied, or file not found,