[refactor] various style fix-ups
This commit is contained in:
1 parent
887796a5ff
commit
83b8f3a896
1 file changed
+4
-5
+4
-5
@@ -341,11 +341,10 @@ static bool rest_block_notxdetails(const std::any& context, HTTPRequest* req, co
|
|||||||
return rest_block(context, req, strURIPart, TxVerbosity::SHOW_TXID);
|
return rest_block(context, req, strURIPart, TxVerbosity::SHOW_TXID);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static bool rest_filter_header(const std::any& context, HTTPRequest* req, const std::string& strURIPart)
|
static bool rest_filter_header(const std::any& context, HTTPRequest* req, const std::string& strURIPart)
|
||||||
{
|
{
|
||||||
if (!CheckWarmup(req))
|
if (!CheckWarmup(req)) return false;
|
||||||
return false;
|
|
||||||
std::string param;
|
std::string param;
|
||||||
const RetFormat rf = ParseDataFormat(param, strURIPart);
|
const RetFormat rf = ParseDataFormat(param, strURIPart);
|
||||||
|
|
||||||
@@ -454,8 +453,8 @@ static bool rest_filter_header(const std::any& context, HTTPRequest* req, const
|
|||||||
|
|
||||||
static bool rest_block_filter(const std::any& context, HTTPRequest* req, const std::string& strURIPart)
|
static bool rest_block_filter(const std::any& context, HTTPRequest* req, const std::string& strURIPart)
|
||||||
{
|
{
|
||||||
if (!CheckWarmup(req))
|
if (!CheckWarmup(req)) return false;
|
||||||
return false;
|
|
||||||
std::string param;
|
std::string param;
|
||||||
const RetFormat rf = ParseDataFormat(param, strURIPart);
|
const RetFormat rf = ParseDataFormat(param, strURIPart);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user