style: formatting
This commit is contained in:
@@ -442,10 +442,7 @@ void Spoofer::serverResponseHandler(const std::string& url, std::string& body, s
|
|||||||
modifyCharacterData(mock);
|
modifyCharacterData(mock);
|
||||||
|
|
||||||
size_t firstSpace = respHeaders.find(' ');
|
size_t firstSpace = respHeaders.find(' ');
|
||||||
if (firstSpace != std::string::npos)
|
if (firstSpace != std::string::npos) respHeaders.replace(firstSpace + 1, 3, "200");
|
||||||
{
|
|
||||||
respHeaders.replace(firstSpace + 1, 3, "200");
|
|
||||||
}
|
|
||||||
|
|
||||||
body = mock.dump();
|
body = mock.dump();
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user