diff options
author | Jeremy Rubin <jeremy.l.rubin@gmail.com> | 2016-08-14 20:45:46 -0400 |
---|---|---|
committer | Luke Dashjr <luke-jr+git@utopios.org> | 2016-09-21 02:43:47 +0000 |
commit | 4e5fc31ae69076224c58dbe41bbd62497510de7d (patch) | |
tree | 04c47c607861b8286c94b17419ce5a6ff745e7d9 /src | |
parent | 156e305dc17b952dd869f76863d3ee70364c9234 (diff) | |
download | bitcoin-4e5fc31ae69076224c58dbe41bbd62497510de7d.tar.xz |
Fix a type error that would not compile on Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
Github-Pull: #8513
Rebased-From: 8194a6e525514d5cda85ac08273a6ffb6d5b6cac
Diffstat (limited to 'src')
-rw-r--r-- | src/httpserver.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/httpserver.h b/src/httpserver.h index 20a119cc5c..42a142dde8 100644 --- a/src/httpserver.h +++ b/src/httpserver.h @@ -35,7 +35,7 @@ void InterruptHTTPServer(); void StopHTTPServer(); /** Handler for requests to a certain HTTP path */ -typedef boost::function<void(HTTPRequest* req, const std::string &)> HTTPRequestHandler; +typedef boost::function<bool(HTTPRequest* req, const std::string &)> HTTPRequestHandler; /** Register handler for prefix. * If multiple handlers match a prefix, the first-registered one will * be invoked. |