You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by gs...@apache.org on 2018/01/12 11:36:31 UTC

qpid-proton git commit: PROTON-1741: send selector as string

Repository: qpid-proton
Updated Branches:
  refs/heads/master 7705cbc3c -> 833859f66


PROTON-1741: send selector as string


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

Branch: refs/heads/master
Commit: 833859f664ad5e75071495ed0ca9c7ab4e4865d0
Parents: 7705cbc
Author: Gordon Sim <gs...@redhat.com>
Authored: Fri Jan 12 11:23:11 2018 +0000
Committer: Gordon Sim <gs...@redhat.com>
Committed: Fri Jan 12 11:23:15 2018 +0000

----------------------------------------------------------------------
 examples/cpp/selected_recv.cpp   | 2 +-
 examples/python/selected_recv.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/833859f6/examples/cpp/selected_recv.cpp
----------------------------------------------------------------------
diff --git a/examples/cpp/selected_recv.cpp b/examples/cpp/selected_recv.cpp
index e54d556..a7f9cea 100644
--- a/examples/cpp/selected_recv.cpp
+++ b/examples/cpp/selected_recv.cpp
@@ -44,7 +44,7 @@ namespace {
         proton::codec::encoder enc(filter_value);
         enc << proton::codec::start::described()
             << proton::symbol("apache.org:selector-filter:string")
-            << proton::binary(selector_str)
+            << selector_str
             << proton::codec::finish();
         // In our case, the map has this one element
         map.put(filter_key, filter_value);

http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/833859f6/examples/python/selected_recv.py
----------------------------------------------------------------------
diff --git a/examples/python/selected_recv.py b/examples/python/selected_recv.py
index dc062d5..6622c15 100755
--- a/examples/python/selected_recv.py
+++ b/examples/python/selected_recv.py
@@ -18,7 +18,7 @@
 # under the License.
 #
 
-from __future__ import print_function
+from __future__ import print_function, unicode_literals
 from proton.reactor import Container, Selector
 from proton.handlers import MessagingHandler
 


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