From 04047a25c6813fca28da27439d901f6977e618e2 Mon Sep 17 00:00:00 2001 From: "Rafael H. Schloming" Date: Tue, 23 Jun 2009 13:04:20 +0000 Subject: 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 --- ruby/lib/qpid/session.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ruby/lib/qpid/session.rb') 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 -- cgit v1.2.1