From 4d48e5fa1cc48b8ab0ef1d67cefc6efdd6974239 Mon Sep 17 00:00:00 2001 From: tastytea Date: Thu, 17 May 2018 13:46:00 +0200 Subject: [PATCH] forgot to reset counter m( --- CMakeLists.txt | 2 +- src/masto.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 64cb4ac..24bb7a3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required (VERSION 3.7) project (expandurl-mastodon - VERSION 0.2.4 + VERSION 0.2.5 LANGUAGES CXX ) diff --git a/src/masto.cpp b/src/masto.cpp index ffae336..e0aea67 100644 --- a/src/masto.cpp +++ b/src/masto.cpp @@ -105,6 +105,7 @@ std::vector Listener::get_new_messages() if (count_empty > 5) { _running = false; + count_empty = 0; } }