Ignore:
Timestamp:
06/22/11 20:17:06 (13 years ago)
Author:
tbretz
Message:
Added possibility to debug data transmission to the boards.
File:
1 edited

Legend:

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

    r10983 r11118  
    1919using boost::lexical_cast;
    2020using ba::ip::tcp;
    21 
    22 #define DEBUG_TX
    2321
    2422    // -------- Abbreviations for starting async tasks ---------
     
    177175    else
    178176    {
    179 #ifdef DEBUG_TX
    180         ostringstream msg;
    181         msg << n << " bytes successfully sent to " << URL();
    182         Message(msg);
    183 #endif
     177        if (fDebugTx)
     178        {
     179            ostringstream msg;
     180            msg << n << " bytes successfully sent to " << URL();
     181            Message(msg);
     182        }
    184183    }
    185184
Note: See TracChangeset for help on using the changeset viewer.