mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-19 14:53:43 +01:00
Move AcceptedConnection class to rpcserver.h.
Also, add parens to HTTPReply() to assist readability.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user