Ignore:
Timestamp:
2008-12-11T15:14:46+13:00 (15 years ago)
Author:
mdewsnip
Message:

Fixed another DB special, where the collectset() constructor wasn't changed to use the modified version with both gsdlhome and collecthome.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/runtime-src/src/z3950/z3950server.cpp

    r15498 r18178  
    4141// these globals are local to each thread,
    4242// one Z39.50 connection = one thread.
    43 text_t gsdlhome; // this is specified externally when Greenstone is installed
     43text_t gsdlhome; // this is set by the collectset object from the gsdlsite.cfg file
     44text_t collecthome; // this is set by the collectset object
    4445list<FilterResponse_t> Response_tlist; // list of response sets
    4546list<text_t> Response_tlist_colnames;  // collection names for the above
     
    6364
    6465  Protocol = new nullproto(); 
    65   Cservers = new collectset(gsdlhome);
     66  Cservers = new collectset(gsdlhome, collecthome);
    6667  Protocol->set_collectset(Cservers);
    6768 
Note: See TracChangeset for help on using the changeset viewer.