mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-24 02:14:52 +01:00
fixed wrong constant values
before, they were both zero, so getting a read-writeable handle was impossible.
This commit is contained in:
parent
263a690ac4
commit
a26b06f09d
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ type Filenames struct {
|
|||
type DatabaseMode C.notmuch_database_mode_t
|
||||
|
||||
const (
|
||||
DATABASE_MODE_READ_ONLY DatabaseMode = 0
|
||||
DATABASE_MODE_READ_ONLY DatabaseMode = iota
|
||||
DATABASE_MODE_READ_WRITE
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue