Changeset 15198 for gsdl/trunk/src/oaiservr/listidsaction.cpp
- Timestamp:
- 2008-04-17T13:52:05+12:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/src/oaiservr/listidsaction.cpp
r8310 r15198 7 7 bool listidsaction::validateAction(recptproto *protocol, oaiargs ¶ms) 8 8 { 9 int params_size = params.getSize(); 9 10 int numArgs = 1; // For "verb" arg 10 11 … … 15 16 // In OAI v1.1 metadataPrefix is not allowed. 16 17 if (this->configuration->getOAIVersion() <= 110){ 17 if(numArgs != params .getSize()){18 if(numArgs != params_size){ 18 19 this->errorType = "badArgument"; 19 20 return false; … … 27 28 } 28 29 else { // If it isn't empty, increase the valid args count and compare this to the total num of args 29 if (++numArgs != params .getSize()){30 if (++numArgs != params_size){ 30 31 this->errorType = "badArgument"; 31 32 return false;
Note:
See TracChangeset
for help on using the changeset viewer.