Ignore:
Timestamp:
2011-05-26T20:59:54+12:00 (13 years ago)
Author:
ak19
Message:

Fixed a server crashing bug in the oaiserver. Off by one error.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/runtime-src/src/oaiservr/oaitools.cpp

    r22739 r24096  
    3232void oaiclassifier::swapColonsAndPeriods(text_t &classifier)
    3333{
    34   for (int i = 1; i <= classifier.size(); ++i) {
    35     if (classifier[i] == '.') {
     34  for (int i = 0; i < classifier.size(); ++i) {
     35    if (classifier[i] == '.') {
    3636      classifier[i] = ':';
    3737    }
Note: See TracChangeset for help on using the changeset viewer.