Changeset 20607


Ignore:
Timestamp:
2009-09-16T11:53:41+12:00 (15 years ago)
Author:
kjdon
Message:

find should be findchar

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/runtime-src/src/oaiservr/oaiconfig.cpp

    r20589 r20607  
    112112    // <collection name>:<field name>
    113113    index = cfgline[0];
    114     if ((colonAt = find(index.begin(), index.end(), ':')) != index.end()) {
     114    if ((colonAt = findchar(index.begin(), index.end(), ':')) != index.end()) {
    115115      configCollection = substr(index.begin(), colonAt);
    116116
     
    127127    // will be given first and separated by a period or full stop).  In
    128128    // the case of format.field name, the splitting is done here.
    129     if ((colonAt = find(cfgline[1].begin(), cfgline[1].end(), '.')) != cfgline[1].end()) {
     129    if ((colonAt = findchar(cfgline[1].begin(), cfgline[1].end(), '.')) != cfgline[1].end()) {
    130130      text_t stub = substr(cfgline[1].begin(), colonAt);
    131131      colonAt += 1;
Note: See TracChangeset for help on using the changeset viewer.