Changeset 18178

Show
Ignore:
Timestamp:
11.12.2008 15:14:46 (11 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.

Files:
1 modified

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