Revision 201e2bb8 src/caps/MulticastCapsClient.cpp

b/src/caps/MulticastCapsClient.cpp
10 10
 * the Free Software Foundation, either version 3 of the License, or
11 11
 * (at your option) any later version.
12 12
 *
13
 * Scenic is distributed in the hope that it will be useful, 
13
 * Scenic is distributed in the hope that it will be useful,
14 14
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 15
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 16
 * GNU General Public License for more details.
......
30 30

  
31 31
MulticastCapsClient::MulticastCapsClient(boost::asio::io_service& io_service,
32 32
        const std::string& listenAddress,
33
        const std::string& multicastAddress, 
34
        short multicastPort) : 
33
        const std::string& multicastAddress,
34
        short multicastPort) :
35 35
    socket_(io_service),
36 36
    listenAddress_(boost::asio::ip::address::from_string(listenAddress)),
37 37
    multicastAddress_(boost::asio::ip::address::from_string(multicastAddress)),
......
54 54
    }
55 55
    catch (const boost::system::system_error& error)
56 56
    {
57
        LOG_ERROR("Got socket error \"" << error.what() << 
57
        LOG_ERROR("Got socket error \"" << error.what() <<
58 58
                "\" for multicast address " << multicastAddress_);
59 59
        throw;
60 60
    }
......
78 78
        capsEnd = result.find(SENTINEL);
79 79
        bytesDeclared = boost::lexical_cast<int>(result.substr(capsEnd + SENTINEL.length(), result.length()));
80 80
        if (bytesDeclared != capsEnd - 1)
81
            LOG_WARNING("MISMATCH BETWEEN DECLARED CAPS LENGTH " << 
81
            LOG_WARNING("MISMATCH BETWEEN DECLARED CAPS LENGTH " <<
82 82
                    bytesDeclared <<  " AND RECEIVED CAPS LENGTH" <<
83 83
                    capsEnd - 1);
84 84
        if (capsEnd != std::string::npos)

Also available in: Unified diff