mirror of https://github.com/aria2/aria2
2009-08-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Renamed xmlrpc::elements::PARAMS to xmlrpc::elements::A2_PARAMS because it causes compile error if PARAMS macro is defined. * src/XmlRpcElements.cc * src/XmlRpcElements.h * src/XmlRpcRequestParserStateImpl.ccpull/1/head
parent
fec3ef8790
commit
611eadf85d
|
@ -1,3 +1,11 @@
|
||||||
|
2009-08-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||||
|
|
||||||
|
Renamed xmlrpc::elements::PARAMS to xmlrpc::elements::A2_PARAMS
|
||||||
|
because it causes compile error if PARAMS macro is defined.
|
||||||
|
* src/XmlRpcElements.cc
|
||||||
|
* src/XmlRpcElements.h
|
||||||
|
* src/XmlRpcRequestParserStateImpl.cc
|
||||||
|
|
||||||
2009-07-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
2009-07-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||||
|
|
||||||
* Release 1.5.1
|
* Release 1.5.1
|
||||||
|
|
|
@ -40,7 +40,7 @@ namespace elements {
|
||||||
|
|
||||||
const std::string METHOD_CALL("methodCall");
|
const std::string METHOD_CALL("methodCall");
|
||||||
const std::string METHOD_NAME("methodName");
|
const std::string METHOD_NAME("methodName");
|
||||||
const std::string PARAMS("params");
|
const std::string A2_PARAMS("params");
|
||||||
const std::string PARAM("param");
|
const std::string PARAM("param");
|
||||||
const std::string VALUE("value");
|
const std::string VALUE("value");
|
||||||
const std::string I4("i4");
|
const std::string I4("i4");
|
||||||
|
|
|
@ -45,7 +45,7 @@ namespace elements {
|
||||||
|
|
||||||
extern const std::string METHOD_CALL;
|
extern const std::string METHOD_CALL;
|
||||||
extern const std::string METHOD_NAME;
|
extern const std::string METHOD_NAME;
|
||||||
extern const std::string PARAMS;
|
extern const std::string A2_PARAMS;
|
||||||
extern const std::string PARAM;
|
extern const std::string PARAM;
|
||||||
extern const std::string VALUE;
|
extern const std::string VALUE;
|
||||||
extern const std::string I4;
|
extern const std::string I4;
|
||||||
|
|
|
@ -82,7 +82,7 @@ void MethodCallXmlRpcRequestParserState::beginElement
|
||||||
{
|
{
|
||||||
if(name == elements::METHOD_NAME) {
|
if(name == elements::METHOD_NAME) {
|
||||||
stm->pushMethodNameState();
|
stm->pushMethodNameState();
|
||||||
} else if(name == elements::PARAMS) {
|
} else if(name == elements::A2_PARAMS) {
|
||||||
stm->setCurrentFrameValue(BDE::list());
|
stm->setCurrentFrameValue(BDE::list());
|
||||||
stm->pushParamsState();
|
stm->pushParamsState();
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue