Commit d12fe71d authored by Marcin Siodelski's avatar Marcin Siodelski
Browse files

[master] Removed unnecessary check in unix_control_client.

This change fixes an unstable unit test and it was okayed on jabber.
parent 111e59a0
......@@ -110,11 +110,6 @@ bool UnixControlClient::getResponse(std::string& response,
return (false);
}
if (bytes_rcvd >= sizeof(buf)) {
ADD_FAILURE() << "Response size too large: " << bytes_rcvd;
return (false);
}
// Convert the response to a string
response = std::string(buf, bytes_rcvd);
return (true);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment