From: Carl Worth Date: Wed, 6 Jan 2010 18:03:58 +0000 (-0800) Subject: lib: Update documentation of notmuch_database_add_message. X-Git-Tag: 0.1~167 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=777cd23d9db64c8015fe880a106e84c3634bf19f lib: Update documentation of notmuch_database_add_message. Previously, adding a filename with the same message ID as an existing message would do nothing. But we recently fixed this to instead add the new filename to the existing message document. So update the documentation to match now. --- diff --git a/lib/notmuch.h b/lib/notmuch.h index d9fe152a..52078e81 100644 --- a/lib/notmuch.h +++ b/lib/notmuch.h @@ -220,8 +220,8 @@ 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. Nothing added - * to the database. + * ID as another message already in the database. The new filename + * was successfully added to the message in the database. * * NOTMUCH_STATUS_FILE_ERROR: an error occurred trying to open the * file, (such as permission denied, or file not found,