summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ot_http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ot_http.c b/ot_http.c
index 3f2fc5d..cc4a616 100644
--- a/ot_http.c
+++ b/ot_http.c
@@ -368,7 +368,7 @@ static ssize_t http_handle_scrape( const int64 sock, struct ot_workstruct *ws, c
368 numwant = OT_MAXMULTISCRAPE_COUNT; 368 numwant = OT_MAXMULTISCRAPE_COUNT;
369 369
370 /* Enough for http header + whole scrape string */ 370 /* Enough for http header + whole scrape string */
371 ws->reply_size = return_tcp_scrape_for_torrent( multiscrape_buf, numwant, ws->reply ); 371 ws->reply_size = return_tcp_scrape_for_torrent( (const ot_hash*)multiscrape_buf, numwant, ws->reply );
372 stats_issue_event( EVENT_SCRAPE, FLAG_TCP, ws->reply_size ); 372 stats_issue_event( EVENT_SCRAPE, FLAG_TCP, ws->reply_size );
373 return ws->reply_size; 373 return ws->reply_size;
374} 374}