diff options
| author | Rafael H. Schloming <rhs@apache.org> | 2009-06-23 13:04:20 +0000 |
|---|---|---|
| committer | Rafael H. Schloming <rhs@apache.org> | 2009-06-23 13:04:20 +0000 |
| commit | 04047a25c6813fca28da27439d901f6977e618e2 (patch) | |
| tree | c79107847b8da58ce46a03b9ec965b386c575938 /ruby/lib/qpid/session.rb | |
| parent | 88b6b472b53db97defafe87d658f97ec0f78cd38 (diff) | |
| download | qpid-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/session.rb')
| -rw-r--r-- | ruby/lib/qpid/session.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ruby/lib/qpid/session.rb b/ruby/lib/qpid/session.rb index 1b4d78814a..d693b722c2 100644 --- a/ruby/lib/qpid/session.rb +++ b/ruby/lib/qpid/session.rb @@ -277,13 +277,13 @@ module Qpid end log.debug("RECV %s %s %s" % [cmd.id, hdr, cmd]) if log - if cmd.type.payload - result = @delegate.send(cmd.type.name, cmd, header, body) + if cmd.st_type.payload + result = @delegate.send(cmd.st_type.name, cmd, header, body) else - result = @delegate.send(cmd.type.name, cmd) + result = @delegate.send(cmd.st_type.name, cmd) end - unless cmd.type.result.nil? + unless cmd.st_type.result.nil? execution_result(cmd.id, result) end |
