Changeset 15198 for gsdl/trunk/src/oaiservr/listrecsaction.cpp
- Timestamp:
- 2008-04-17T13:52:05+12:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/src/oaiservr/listrecsaction.cpp
r9608 r15198 6 6 bool listrecsaction::validateAction(recptproto *protocol, oaiargs ¶ms) 7 7 { 8 int params_size = params.getSize(); 9 8 10 text_t meta = params["metadataPrefix"]; 9 11 int numArgs = 1; // 1st arg (Verb=ListRecords) must be present for us to be here … … 26 28 // The number of valid args should be exactly equal to the number of args actually there. 27 29 // If not, throw a 'badArgument' error. 28 if (numArgs != params .getSize()) {30 if (numArgs != params_size) { 29 31 this->errorType = "badArgument"; 30 32 return false;
Note:
See TracChangeset
for help on using the changeset viewer.