comparison OrthancServer/OrthancRestApi/OrthancRestResources.cpp @ 2003:f11e5d200c04

author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 08 Jun 2016 10:39:42 +0200
parents 533ff46e944b
children 655489d9165d
comparison
equal deleted inserted replaced
2002:785588df2518 2003:f11e5d200c04
1097 } 1097 }
1098 1098
1099 size_t limit = 0; 1099 size_t limit = 0;
1100 if (request.isMember("Limit")) 1100 if (request.isMember("Limit"))
1101 { 1101 {
1102 int tmp = request["CaseSensitive"].asInt(); 1102 int tmp = request["Limit"].asInt();
1103 if (tmp < 0) 1103 if (tmp < 0)
1104 { 1104 {
1105 throw OrthancException(ErrorCode_ParameterOutOfRange); 1105 throw OrthancException(ErrorCode_ParameterOutOfRange);
1106 } 1106 }
1107 1107