mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-25 12:28:09 +01:00
Add missing comment for NOTMUCH_STATUS_READONLY_DATABASE.
And adjust the string representation of the same to match.
This commit is contained in:
parent
d807e28f43
commit
3f32fd8a1c
2 changed files with 4 additions and 1 deletions
|
@ -199,7 +199,7 @@ notmuch_status_to_string (notmuch_status_t status)
|
||||||
case NOTMUCH_STATUS_OUT_OF_MEMORY:
|
case NOTMUCH_STATUS_OUT_OF_MEMORY:
|
||||||
return "Out of memory";
|
return "Out of memory";
|
||||||
case NOTMUCH_STATUS_READONLY_DATABASE:
|
case NOTMUCH_STATUS_READONLY_DATABASE:
|
||||||
return "The database is read-only";
|
return "Attempt to write to a read-only database";
|
||||||
case NOTMUCH_STATUS_XAPIAN_EXCEPTION:
|
case NOTMUCH_STATUS_XAPIAN_EXCEPTION:
|
||||||
return "A Xapian exception occurred";
|
return "A Xapian exception occurred";
|
||||||
case NOTMUCH_STATUS_FILE_ERROR:
|
case NOTMUCH_STATUS_FILE_ERROR:
|
||||||
|
|
|
@ -57,6 +57,9 @@ typedef int notmuch_bool_t;
|
||||||
* value. Instead we should map to things like DATABASE_LOCKED or
|
* value. Instead we should map to things like DATABASE_LOCKED or
|
||||||
* whatever.
|
* whatever.
|
||||||
*
|
*
|
||||||
|
* NOTMUCH_STATUS_READONLY_DATABASE: An attempt was made to write to a
|
||||||
|
* database opened in read-only mode.
|
||||||
|
*
|
||||||
* NOTMUCH_STATUS_XAPIAN_EXCEPTION: A Xapian exception occurred
|
* NOTMUCH_STATUS_XAPIAN_EXCEPTION: A Xapian exception occurred
|
||||||
*
|
*
|
||||||
* NOTMUCH_STATUS_FILE_ERROR: An error occurred trying to read or
|
* NOTMUCH_STATUS_FILE_ERROR: An error occurred trying to read or
|
||||||
|
|
Loading…
Reference in a new issue