Initialize continue_streaming with false

Otherwise this variable is constant.
This commit is contained in:
Alexander Krotov
2019-10-22 13:23:19 +03:00
parent d3c831a0a2
commit bed14d5c02

View File

@@ -540,7 +540,7 @@ pub fn save(
#[allow(non_snake_case)]
pub fn job_do_DC_JOB_MAYBE_SEND_LOCATIONS(context: &Context, _job: &Job) {
let now = time();
let mut continue_streaming = true;
let mut continue_streaming = false;
info!(
context,
" ----------------- MAYBE_SEND_LOCATIONS -------------- ",