Mercurial > hg > orthanc
diff OrthancServer/OrthancRestApi.cpp @ 207:7f74209ea0f8
RestApi
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 28 Nov 2012 16:23:11 +0100 |
parents | 7f4acf490179 |
children | de640de989b8 |
line wrap: on
line diff
--- a/OrthancServer/OrthancRestApi.cpp Wed Nov 28 12:03:18 2012 +0100 +++ b/OrthancServer/OrthancRestApi.cpp Wed Nov 28 16:23:11 2012 +0100 @@ -397,7 +397,7 @@ const std::string& method, const UriComponents& uri, const Arguments& headers, - const Arguments& arguments, + const Arguments& getArguments, const std::string& postData) { if (uri.size() == 0) @@ -718,13 +718,13 @@ { const static unsigned int MAX_RESULTS = 100; - //std::string filter = GetArgument(arguments, "filter", ""); + //std::string filter = GetArgument(getArguments, "filter", ""); int64_t since; unsigned int limit; try { - since = boost::lexical_cast<int64_t>(GetArgument(arguments, "since", "0")); - limit = boost::lexical_cast<unsigned int>(GetArgument(arguments, "limit", "0")); + since = boost::lexical_cast<int64_t>(GetArgument(getArguments, "since", "0")); + limit = boost::lexical_cast<unsigned int>(GetArgument(getArguments, "limit", "0")); } catch (boost::bad_lexical_cast) {