qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tr...@apache.org
Subject svn commit: r1057302 - /qpid/trunk/qpid/cpp/src/qmf/Schema.cpp
Date Mon, 10 Jan 2011 18:30:39 GMT
Author: tross
Date: Mon Jan 10 18:30:39 2011
New Revision: 1057302

URL: http://svn.apache.org/viewvc?rev=1057302&view=rev
Log:
Fixed a bug in the type-compatibility checker.

Modified:
    qpid/trunk/qpid/cpp/src/qmf/Schema.cpp

Modified: qpid/trunk/qpid/cpp/src/qmf/Schema.cpp
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qmf/Schema.cpp?rev=1057302&r1=1057301&r2=1057302&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qmf/Schema.cpp (original)
+++ qpid/trunk/qpid/cpp/src/qmf/Schema.cpp Mon Jan 10 18:30:39 2011
@@ -329,7 +329,7 @@ bool SchemaImpl::isCompatibleType(int qm
             typeValid = true;
         break;
     case qpid::types::VAR_MAP:
-        if (qmfType == SCHEMA_DATA_BOOL)
+        if (qmfType == SCHEMA_DATA_MAP)
             typeValid = true;
         break;
     case qpid::types::VAR_LIST:



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org


Mime
View raw message