Ignore:
Timestamp:
2001-02-01T15:33:14+13:00 (23 years ago)
Author:
sjboddie
Message:

Fixed another couple of things that got lost when the corba branch
was integrated.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/recpt/nullproto.cpp

    r1860 r1892  
    3737#include "fileutil.h"
    3838
     39nullproto::nullproto() {
     40  cset = NULL;
     41}
    3942
    4043nullproto::~nullproto() {
    4144}
    4245
    43 // add_collection sets up the collectionserver and calls
    44 // add_collectserver
    45 /*
     46// add collection to collectset (this should not be called until after the
     47// collectset has been added to the protocol with set_collectset()
    4648void nullproto::add_collection (const text_t &collection, void *recpt,
    4749                const text_t &gsdlhome, const text_t &gdbmhome) {     
    48                 }
    49 */
     50 
     51  if (cset != NULL) {
     52    this->cset->add_collection (collection, recpt, gsdlhome, gdbmhome);
     53  }
     54}
     55
    5056
    5157// remove_collection deletes the collection server of collection.
Note: See TracChangeset for help on using the changeset viewer.