summaryrefslogtreecommitdiff
path: root/ruby/lib/qpid/delegates.rb
diff options
context:
space:
mode:
authorRafael H. Schloming <rhs@apache.org>2009-06-23 13:04:20 +0000
committerRafael H. Schloming <rhs@apache.org>2009-06-23 13:04:20 +0000
commit04047a25c6813fca28da27439d901f6977e618e2 (patch)
treec79107847b8da58ce46a03b9ec965b386c575938 /ruby/lib/qpid/delegates.rb
parent88b6b472b53db97defafe87d658f97ec0f78cd38 (diff)
downloadqpid-python-04047a25c6813fca28da27439d901f6977e618e2.tar.gz
renamed the type field of structs to st_type so it won't conflict with struct fields
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@787663 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'ruby/lib/qpid/delegates.rb')
-rw-r--r--ruby/lib/qpid/delegates.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ruby/lib/qpid/delegates.rb b/ruby/lib/qpid/delegates.rb
index 6d655067ef..f779047e05 100644
--- a/ruby/lib/qpid/delegates.rb
+++ b/ruby/lib/qpid/delegates.rb
@@ -44,7 +44,7 @@ module Qpid
if seg.track == @control
ctl = seg.decode(@spec)
log.debug("RECV %s", ctl) if log
- attr = ctl.type.name
+ attr = ctl.st_type.name
method(attr).call(ch, ctl)
elsif ssn.nil?
ch.session_detached