qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cliffjan...@apache.org
Subject qpid-proton git commit: PROTON-1194: C++ flow control, assertion error in debug builds, wrong get_drain call
Date Fri, 13 May 2016 15:17:28 GMT
Repository: qpid-proton
Updated Branches:
  refs/heads/master d05357726 -> 887a4a09b


PROTON-1194: C++ flow control, assertion error in debug builds, wrong get_drain call


Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/887a4a09
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/887a4a09
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/887a4a09

Branch: refs/heads/master
Commit: 887a4a09bf5de6e157093eef05d72ee4b0c60922
Parents: d053577
Author: Clifford Jansen <cliffjansen@apache.org>
Authored: Fri May 13 08:17:05 2016 -0700
Committer: Clifford Jansen <cliffjansen@apache.org>
Committed: Fri May 13 08:17:05 2016 -0700

----------------------------------------------------------------------
 proton-c/bindings/cpp/src/messaging_adapter.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/887a4a09/proton-c/bindings/cpp/src/messaging_adapter.cpp
----------------------------------------------------------------------
diff --git a/proton-c/bindings/cpp/src/messaging_adapter.cpp b/proton-c/bindings/cpp/src/messaging_adapter.cpp
index 6e5a666..9d6fa39 100644
--- a/proton-c/bindings/cpp/src/messaging_adapter.cpp
+++ b/proton-c/bindings/cpp/src/messaging_adapter.cpp
@@ -76,7 +76,7 @@ void messaging_adapter::on_link_flow(proton_event &pe) {
         if (pn_link_is_sender(lnk)) {
             if (pn_link_credit(lnk) > 0) {
                 sender s(make_wrapper<sender>(lnk));
-                if (pn_link_draining(lnk)) {
+                if (pn_link_get_drain(lnk)) {
                     if (!lctx.draining) {
                         lctx.draining = true;
                         delegate_.on_sender_drain_start(s);


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message