Author: cctrieloff
Date: Tue Jan  9 07:04:57 2007
New Revision: 494427

URL: http://svn.apache.org/viewvc?view=rev&rev=494427
Log:

Patch from Andrew, I will merge the solution that I am working on shortly, but
this patch should enable the branch to work till then


Modified:
    incubator/qpid/branches/qpid.0-9/cpp/lib/common/framing/AMQFrame.cpp

Modified: incubator/qpid/branches/qpid.0-9/cpp/lib/common/framing/AMQFrame.cpp
URL: 
http://svn.apache.org/viewvc/incubator/qpid/branches/qpid.0-9/cpp/lib/common/framing/AMQFrame.cpp?view=diff&rev=494427&r1=494426&r2=494427
==============================================================================
--- incubator/qpid/branches/qpid.0-9/cpp/lib/common/framing/AMQFrame.cpp 
(original)
+++ incubator/qpid/branches/qpid.0-9/cpp/lib/common/framing/AMQFrame.cpp Tue 
Jan  9 07:04:57 2007
@@ -26,7 +26,7 @@
 
 // This only works as a static as the version is currently fixed to 8.0
 // TODO: When the class is version-aware this will need to change
-AMQP_MethodVersionMap AMQFrame::versionMap(8,0);
+AMQP_MethodVersionMap AMQFrame::versionMap(0,9);
 
 // AMQP version management change - kpvdr 2-11-17
 // TODO: Make this class version-aware
@@ -68,7 +68,7 @@
     u_int16_t methodId = buffer.getShort();
     // AMQP version management change - kpvdr 2006-11-16
     // TODO: Make this class version-aware and link these hard-wired numbers 
to that version
-    AMQBody::shared_ptr body(versionMap.createMethodBody(classId, methodId, 8, 
0));
+    AMQBody::shared_ptr body(versionMap.createMethodBody(classId, methodId, 0, 
9));
     // Origianl stmt:
        // AMQBody::shared_ptr body(createAMQMethodBody(classId, methodId));
     return body;


Reply via email to