projects
/
notmuch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
263a690
)
fixed wrong constant values
author
laochailan
<laochailan@web.de>
Sun, 31 May 2015 12:02:12 +0000
(14:02 +0200)
committer
David Bremner
<david@tethera.net>
Sat, 3 Sep 2016 23:15:46 +0000
(20:15 -0300)
before, they were both zero, so getting a read-writeable handle was
impossible.
contrib/go/src/notmuch/notmuch.go
patch
|
blob
|
history
diff --git
a/contrib/go/src/notmuch/notmuch.go
b/contrib/go/src/notmuch/notmuch.go
index a8611ebbe53cc833619b7a51fdbfb6c567ba9532..2d6843112ae0ba5cec49ae068cdb4070442f35a6 100644
(file)
--- 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
)