Repository: qpid-proton Updated Branches: refs/heads/master 4bd66a06e -> 2c438a855
PROTON-1307: go binding amqp.message does not honor Inferred flag Applied fix provided by Richard Laos for typo in the SetInferred method. Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/2c438a85 Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/2c438a85 Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/2c438a85 Branch: refs/heads/master Commit: 2c438a8554daf4526b9a7f1444fb5389a55bc1bb Parents: 4bd66a0 Author: Alan Conway <[email protected]> Authored: Tue Sep 27 15:03:57 2016 -0400 Committer: Alan Conway <[email protected]> Committed: Tue Sep 27 15:05:56 2016 -0400 ---------------------------------------------------------------------- proton-c/bindings/go/src/qpid.apache.org/amqp/message.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/2c438a85/proton-c/bindings/go/src/qpid.apache.org/amqp/message.go ---------------------------------------------------------------------- diff --git a/proton-c/bindings/go/src/qpid.apache.org/amqp/message.go b/proton-c/bindings/go/src/qpid.apache.org/amqp/message.go index 4ae36f4..48a209a 100644 --- a/proton-c/bindings/go/src/qpid.apache.org/amqp/message.go +++ b/proton-c/bindings/go/src/qpid.apache.org/amqp/message.go @@ -261,7 +261,7 @@ func dataString(data *C.pn_data_t) string { return C.GoString(C.pn_string_get(str)) } -func (m *message) SetInferred(b bool) { C.pn_message_set_inferred(m.pn, C.bool(m.Inferred())) } +func (m *message) SetInferred(b bool) { C.pn_message_set_inferred(m.pn, C.bool(b)) } func (m *message) SetDurable(b bool) { C.pn_message_set_durable(m.pn, C.bool(b)) } func (m *message) SetPriority(b uint8) { C.pn_message_set_priority(m.pn, C.uint8_t(b)) } func (m *message) SetTTL(d time.Duration) { --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
