Browse Source
[TRIVIAL] Fix typo: exactmath -> exactmatch
... but not yet in trivial tree
v1.0.9-lin
paveljanik
9 years ago
committed by
Jack Grigg
No known key found for this signature in database
GPG Key ID: 6A6914DAFBEA00DA
1 changed files with
2 additions and
2 deletions
-
src/httpserver.cpp
|
|
@ -578,7 +578,7 @@ HTTPRequest::RequestMethod HTTPRequest::GetRequestMethod() |
|
|
|
|
|
|
|
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)); |
|
|
|
} |
|
|
|
|
|
|
@ -591,7 +591,7 @@ void UnregisterHTTPHandler(const std::string &prefix, bool exactMatch) |
|
|
|
break; |
|
|
|
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); |
|
|
|
} |
|
|
|
} |
|
|
|