updated to mastodon-cpp-0.12.2, etc....

This commit is contained in:
tastytea 2018-05-13 16:11:37 +02:00
parent dac34c9197
commit cea2f7c295
Signed by: tastytea
GPG Key ID: 59346E0EA35C67E5
4 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
cmake_minimum_required (VERSION 3.7) cmake_minimum_required (VERSION 3.7)
project (expandurl-mastodon project (expandurl-mastodon
VERSION 0.2.2 VERSION 0.2.3
LANGUAGES CXX LANGUAGES CXX
) )

View File

@ -20,7 +20,7 @@ or to [@tastytea@soc.ialis.me](https://soc.ialis.me/@tastytea).
* C++ compiler (tested: gcc 6.4) * C++ compiler (tested: gcc 6.4)
* [cmake](https://cmake.org/) (tested: 3.9.6) * [cmake](https://cmake.org/) (tested: 3.9.6)
* [curlpp](http://www.curlpp.org/) (tested: 0.8.1) * [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 ## Get sourcecode

View File

@ -40,7 +40,7 @@ void signal_handler(int signum)
exit(signum); exit(signum);
} }
running = false; running = false;
cout << "Closing program, this could take a few seconds...\n"; cout << "Closing, this could take a few seconds...\n";
break; break;
default: default:
break; break;
@ -128,7 +128,7 @@ int main(int argc, char *argv[])
} }
listener.stop(); listener.stop();
curlpp::Cleanup(); curlpp::terminate();
return 0; return 0;
} }

View File

@ -71,7 +71,7 @@ const void Listener::stop()
{ {
if (_ptr) if (_ptr)
{ {
_ptr->abort_stream(); _ptr->cancel_stream();
_thread.join(); _thread.join();
} }
} }