File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -279,7 +279,7 @@ static void http_reject_request_cb(struct evhttp_request* req, void*)
279
279
}
280
280
281
281
/* * Event dispatcher thread */
282
- static bool ThreadHTTP (struct event_base * base, struct evhttp * http )
282
+ static bool ThreadHTTP (struct event_base * base)
283
283
{
284
284
RenameThread (" bitcoin-http" );
285
285
LogPrint (BCLog::HTTP, " Entering http event loop\n " );
@@ -428,9 +428,9 @@ bool StartHTTPServer()
428
428
LogPrint (BCLog::HTTP, " Starting HTTP server\n " );
429
429
int rpcThreads = std::max ((long )gArgs .GetArg (" -rpcthreads" , DEFAULT_HTTP_THREADS), 1L );
430
430
LogPrintf (" HTTP: starting %d worker threads\n " , rpcThreads);
431
- std::packaged_task<bool (event_base*, evhttp* )> task (ThreadHTTP);
431
+ std::packaged_task<bool (event_base*)> task (ThreadHTTP);
432
432
threadResult = task.get_future ();
433
- threadHTTP = std::thread (std::move (task), eventBase, eventHTTP );
433
+ threadHTTP = std::thread (std::move (task), eventBase);
434
434
435
435
for (int i = 0 ; i < rpcThreads; i++) {
436
436
g_thread_http_workers.emplace_back (HTTPWorkQueueRun, workQueue);
You can’t perform that action at this time.
0 commit comments