Changeset 11198 for trunk/FACT++


Ignore:
Timestamp:
06/27/11 15:03:59 (13 years ago)
Author:
tbretz
Message:
Do noz print 'Trying to connect' message more than once.
File:
1 edited

Legend:

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

    r11190 r11198  
    434434        ostringstream msg;
    435435        msg << "Trying to connect to " << fEndpoint << "...";
    436         Info(msg);
     436        if (fMsgConnect!=msg.str())
     437        {
     438            fMsgConnect = msg.str();
     439            Info(msg);
     440        }
    437441
    438442        AsyncConnect();
Note: See TracChangeset for help on using the changeset viewer.