fixed wrong constant values

before, they were both zero, so getting a read-writeable handle was
impossible.
This commit is contained in:
laochailan 2015-05-31 14:02:12 +02:00 committed by David Bremner
parent 263a690ac4
commit a26b06f09d

View file

@ -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
)