aboutsummaryrefslogtreecommitdiff
path: root/src/httpserver.h
diff options
context:
space:
mode:
authorJeremy Rubin <jeremy.l.rubin@gmail.com>2016-08-14 20:45:46 -0400
committerLuke Dashjr <luke-jr+git@utopios.org>2016-09-21 02:43:47 +0000
commit4e5fc31ae69076224c58dbe41bbd62497510de7d (patch)
tree04c47c607861b8286c94b17419ce5a6ff745e7d9 /src/httpserver.h
parent156e305dc17b952dd869f76863d3ee70364c9234 (diff)
downloadbitcoin-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/httpserver.h')
-rw-r--r--src/httpserver.h2
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.