Skip to content

Commit 65e6444

Browse files
committed
Merge bitcoin#8513: Fix a type error that would not compile on OSX.
8194a6e 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) (Jeremy Rubin)
2 parents 740cff5 + 8194a6e commit 65e6444

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/httpserver.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ void InterruptHTTPServer();
3333
void StopHTTPServer();
3434

3535
/** Handler for requests to a certain HTTP path */
36-
typedef std::function<void(HTTPRequest* req, const std::string &)> HTTPRequestHandler;
36+
typedef std::function<bool(HTTPRequest* req, const std::string &)> HTTPRequestHandler;
3737
/** Register handler for prefix.
3838
* If multiple handlers match a prefix, the first-registered one will
3939
* be invoked.

0 commit comments

Comments
 (0)