Ignore:
Timestamp:
05/23/11 15:04:32 (13 years ago)
Author:
tbretz
Message:
Replaced stringstream in log-stream by ostringstream.
File:
1 edited

Legend:

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

    r10731 r10780  
    8181    if (IsConnected())
    8282    {
    83         stringstream str;
     83        ostringstream str;
    8484        str << "Connection closed to " << URL() << ".";
    8585        Message(str);
     
    126126    if (error && error!=ba::error::basic_errors::operation_aborted)
    127127    {
    128         stringstream str;
     128        ostringstream str;
    129129        str << "Write timeout of " << URL() << ": " << error.message() << " (" << error << ")";// << endl;
    130130        Error(str);
     
    157157    if (error)
    158158    {
    159         stringstream str;
     159        ostringstream str;
    160160        str << "Writing to " << URL() << ": " << error.message() << " (" << error << ")";// << endl;
    161161        Error(str);
     
    165165    }
    166166
    167     stringstream msg;
     167    ostringstream msg;
    168168    msg << n << " bytes successfully sent to " << URL();
    169169    Message(msg);
     
    239239    if (error && error!=ba::error::basic_errors::operation_aborted)
    240240    {
    241         stringstream str;
     241        ostringstream str;
    242242        str << "Connetion timer of " << URL() << ": " << error.message() << " (" << error << ")";// << endl;
    243243        Error(str);
     
    286286    fConnectionStatus = kConnecting;
    287287
    288     stringstream msg;
     288    ostringstream msg;
    289289    if (!host.empty())
    290290        msg << "Connecting to " << host << ": " << error.message() << " (" << error << ")";
     
    327327    tcp::resolver::iterator iterator = resolver.resolve(query, ec);
    328328
    329     stringstream msg;
     329    ostringstream msg;
    330330    if (!fAddress.empty() || !fPort.empty() || ec)
    331331        msg << "Trying to connect to " << URL() << "...";
Note: See TracChangeset for help on using the changeset viewer.