diff options
| author | laochailan <laochailan@web.de> | 2015-05-31 14:02:12 +0200 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2016-09-03 20:15:46 -0300 |
| commit | a26b06f09dd2317ab8ffb76dcc1ebb64ff2a80ad (patch) | |
| tree | 51bd95e31b7b5be3bed1ca690ede5d6b4a0870e8 /contrib/go/src | |
| parent | 263a690ac47ced487a7305bd5056723662d1c28c (diff) | |
fixed wrong constant values
before, they were both zero, so getting a read-writeable handle was
impossible.
Diffstat (limited to 'contrib/go/src')
| -rw-r--r-- | contrib/go/src/notmuch/notmuch.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/go/src/notmuch/notmuch.go b/contrib/go/src/notmuch/notmuch.go index a8611ebb..2d684311 100644 --- a/contrib/go/src/notmuch/notmuch.go +++ b/contrib/go/src/notmuch/notmuch.go @@ -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 ) |
