Skip to content

Commit

Permalink
Adapted formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
lutzbichler committed Aug 19, 2014
1 parent 401da88 commit c30567e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions implementation/endpoints/src/server_endpoint_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ bool server_endpoint_impl<Protocol, MaxBufferSize>::send(
std::stringstream msg;
msg << "sei::send ";
for (uint32_t i = 0; i < _size; i++)
msg << std::setw(2) << std::setfill('0') << (int)_data[i] << " ";
msg << std::setw(2) << std::setfill('0') << (int)_data[i] << " ";
VSOMEIP_DEBUG << msg.str();
#endif
endpoint_type its_target;
Expand Down Expand Up @@ -152,7 +152,7 @@ void server_endpoint_impl<Protocol, MaxBufferSize>::send_cbk(
std::stringstream msg;
msg << "sei::scb (" << _error.message() << "): ";
for (std::size_t i = 0; i < _buffer->size(); ++i)
msg << std::hex << std::setw(2) << std::setfill('0') << (int)(*_buffer)[i] << " ";
msg << std::hex << std::setw(2) << std::setfill('0') << (int)(*_buffer)[i] << " ";
VSOMEIP_DEBUG << msg.str();
#endif
}
Expand Down
2 changes: 1 addition & 1 deletion implementation/endpoints/src/tcp_server_endpoint_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ void tcp_server_endpoint_impl::connection::receive_cbk(
#if 0
std::stringstream msg;
for (std::size_t i = 0; i < _bytes; ++i)
msg << std::hex << std::setw(2) << std::setfill('0') << (int)(*_buffer))[i] << " ";
msg << std::hex << std::setw(2) << std::setfill('0') << (int)(*_buffer))[i] << " ";
VSOMEIP_DEBUG << msg.str();
#endif
if (!_error && 0 < _bytes) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ void service_discovery_impl::on_message(const byte_t *_data, length_t _length) {
std::stringstream msg;
msg << "sdi::on_message: ";
for (length_t i = 0; i < _length; ++i)
msg << std::hex << std::setw(2) << std::setfill('0') << (int)_data[i] << " ";
msg << std::hex << std::setw(2) << std::setfill('0') << (int)_data[i] << " ";
VSOMEIP_DEBUG << msg.str();
#endif
deserializer_->set_data(_data, _length);
Expand Down

0 comments on commit c30567e

Please sign in to comment.