diff options
Diffstat (limited to 'ot_http.c')
-rw-r--r-- | ot_http.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 | } |