diff --git a/CMakeLists.txt b/CMakeLists.txt index 05ffb89..a00e6f0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required (VERSION 3.7) project (expandurl-mastodon - VERSION 0.2.2 + VERSION 0.2.3 LANGUAGES CXX ) diff --git a/README.md b/README.md index e701fe7..cd18af0 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ or to [@tastytea@soc.ialis.me](https://soc.ialis.me/@tastytea). * C++ compiler (tested: gcc 6.4) * [cmake](https://cmake.org/) (tested: 3.9.6) * [curlpp](http://www.curlpp.org/) (tested: 0.8.1) - * [mastodon-cpp](https://github.com/tastytea/mastodon-cpp) (at least: 0.12.1) + * [mastodon-cpp](https://github.com/tastytea/mastodon-cpp) (at least: 0.12.2) ## Get sourcecode diff --git a/src/main.cpp b/src/main.cpp index ed9f69b..b6ce172 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -40,7 +40,7 @@ void signal_handler(int signum) exit(signum); } running = false; - cout << "Closing program, this could take a few seconds...\n"; + cout << "Closing, this could take a few seconds...\n"; break; default: break; @@ -128,7 +128,7 @@ int main(int argc, char *argv[]) } listener.stop(); - curlpp::Cleanup(); + curlpp::terminate(); return 0; } diff --git a/src/masto.cpp b/src/masto.cpp index a4280ee..1478a85 100644 --- a/src/masto.cpp +++ b/src/masto.cpp @@ -71,7 +71,7 @@ const void Listener::stop() { if (_ptr) { - _ptr->abort_stream(); + _ptr->cancel_stream(); _thread.join(); } }