Ignore:
Timestamp:
03/11/12 20:00:53 (13 years ago)
Author:
tbretz
Message:
Removed some old debug output when commands are issued.
File:
1 edited

Legend:

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

    r12907 r13068  
    676676    const string fmt = t->second.first;
    677677
     678    // Avoid compiler warning of unused parameter
     679    lout << flush;
     680
    678681    // Convert the user entered data according to the format string
    679682    // into a data block which will be attached to the event
     683#ifndef DEBUG
     684    ostringstream sout;
     685    const Converter conv(sout, fmt, false);
     686#else
    680687    const Converter conv(lout, fmt, false);
     688#endif
    681689    if (!conv)
    682690        throw runtime_error("Couldn't properly parse the format... ignored.");
    683691
     692#ifdef DEBUG
    684693    lout << kBlue << cmd;
     694#endif
    685695    const vector<char> v = conv.GetVector(str.substr(p0));
     696#ifdef DEBUG
    686697    lout << endl;
     698#endif
    687699
    688700    const int rc = DimClient::sendCommand(cmd.c_str(), (void*)v.data(), v.size());
Note: See TracChangeset for help on using the changeset viewer.