~ubuntu-branches/ubuntu/quantal/aria2/quantal

« back to all changes in this revision

Viewing changes to src/ExpatXmlRpcRequestProcessor.cc

  • Committer: Package Import Robot
  • Author(s): Kartik Mistry
  • Date: 2011-11-08 20:25:08 UTC
  • mfrom: (2.5.7 sid)
  • Revision ID: package-import@ubuntu.com-20111108202508-scfph8rj6tz0cckk
Tags: 1.13.0-1
* New upstream version:
  + Depends on libgcrypt11 (>= 1.5.0-3) (Closes: #642989)

Show diffs side-by-side

added added

removed removed

Lines of Context:
122
122
  if(r == XML_STATUS_ERROR) {
123
123
    throw DL_ABORT_EX(MSG_CANNOT_PARSE_XML_RPC_REQUEST);
124
124
  }
125
 
  if(!asList(stm_->getCurrentFrameValue())) {
 
125
  if(!downcast<List>(stm_->getCurrentFrameValue())) {
126
126
    throw DL_ABORT_EX("Bad XML-RPC parameter list");
127
127
  }
128
128
  return RpcRequest(stm_->getMethodName(),