mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-14 17:17:58 +00:00
[TRIVIAL] Fix typo: exactmath -> exactmatch
... but not yet in trivial tree
This commit is contained in:
parent
536207f316
commit
eb3002bb71
@ -555,7 +555,7 @@ HTTPRequest::RequestMethod HTTPRequest::GetRequestMethod()
|
|||||||
|
|
||||||
void RegisterHTTPHandler(const std::string &prefix, bool exactMatch, const HTTPRequestHandler &handler)
|
void RegisterHTTPHandler(const std::string &prefix, bool exactMatch, const HTTPRequestHandler &handler)
|
||||||
{
|
{
|
||||||
LogPrint("http", "Registering HTTP handler for %s (exactmath %d)\n", prefix, exactMatch);
|
LogPrint("http", "Registering HTTP handler for %s (exactmatch %d)\n", prefix, exactMatch);
|
||||||
pathHandlers.push_back(HTTPPathHandler(prefix, exactMatch, handler));
|
pathHandlers.push_back(HTTPPathHandler(prefix, exactMatch, handler));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -568,7 +568,7 @@ void UnregisterHTTPHandler(const std::string &prefix, bool exactMatch)
|
|||||||
break;
|
break;
|
||||||
if (i != iend)
|
if (i != iend)
|
||||||
{
|
{
|
||||||
LogPrint("http", "Unregistering HTTP handler for %s (exactmath %d)\n", prefix, exactMatch);
|
LogPrint("http", "Unregistering HTTP handler for %s (exactmatch %d)\n", prefix, exactMatch);
|
||||||
pathHandlers.erase(i);
|
pathHandlers.erase(i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user