Skip to content

Commit

Permalink
Drop not available logging function in rpc message processor
Browse files Browse the repository at this point in the history
  • Loading branch information
morphis committed Nov 27, 2016
1 parent aa18e21 commit 52aee51
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/anbox/rpc/message_processor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,8 @@ bool MessageProcessor::process_data(const std::vector<std::uint8_t> &data) {

// If we don't have yet all bytes for a new message return and wait
// until we have all.
if (buffer_.size() - header_size < message_size) {
WARNING("Don't have enough bytes yet (buffer %d header %d message %d)",
buffer_.size(), header_size, message_size);
if (buffer_.size() - header_size < message_size)
break;
}

if (message_type == MessageType::invocation) {
anbox::protobuf::rpc::Invocation raw_invocation;
Expand Down

0 comments on commit 52aee51

Please sign in to comment.