Ignore:
Timestamp:
06/14/11 16:45:53 (13 years ago)
Author:
tbretz
Message:
Don't assign dbname to something which might be local.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/triggerschedule.cc

    r10869 r11018  
    9292    }
    9393
    94     const char* dbname = conf.Get<string>("schedule-database").c_str();
     94    const string dbname = conf.Get<string>("schedule-database");
    9595
    9696    Dim::Setup(conf.Get<string>("dns"));
    9797
    98     const int rc = DimClient::sendCommand("SCHEDULER/SCHEDULE", dbname);
     98    const int rc = DimClient::sendCommand("SCHEDULER/SCHEDULE", dbname.c_str());
    9999    if (!rc)
    100100        cerr << "Sending failed!" << endl;
Note: See TracChangeset for help on using the changeset viewer.