Move AcceptedConnection class to rpcserver.h.

Also, add parens to HTTPReply() to assist readability.
This commit is contained in:
Jeff Garzik
2014-06-27 00:10:53 -04:00
parent 854d013012
commit ed5769f536
3 changed files with 12 additions and 12 deletions

View File

@@ -105,8 +105,8 @@ string HTTPReply(int nStatus, const string& strMsg, bool keepalive,
strMsg.size(),
contentType,
FormatFullVersion(),
headersOnly ? "" :
useInternalContent ? cStatus : strMsg.c_str());
(headersOnly ? "" :
(useInternalContent ? cStatus : strMsg.c_str())));
}
bool ReadHTTPRequestLine(std::basic_istream<char>& stream, int &proto,