diff --git a/src/http_tracker_connection.cpp b/src/http_tracker_connection.cpp index c92a22cd9..c9040554a 100644 --- a/src/http_tracker_connection.cpp +++ b/src/http_tracker_connection.cpp @@ -429,7 +429,7 @@ namespace libtorrent } // if no interval is specified, default to 30 minutes - if (interval == 0) interval == 1800; + if (interval == 0) interval = 1800; int complete = int(scrape_data->dict_find_int_value("complete", -1)); int incomplete = int(scrape_data->dict_find_int_value("incomplete", -1));