diff --git a/CMakeLists.txt b/CMakeLists.txt index 7c3da93..7779f79 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required (VERSION 3.7) project (expandurl-mastodon - VERSION 0.9.3 + VERSION 0.9.4 LANGUAGES CXX ) diff --git a/src/masto.cpp b/src/masto.cpp index f7dd80d..8a58656 100644 --- a/src/masto.cpp +++ b/src/masto.cpp @@ -348,7 +348,7 @@ const bool Listener::register_app() ret = _masto->register_app1("expandurl-mastodon", "urn:ietf:wg:oauth:2.0:oob", "read write", - "https://github.com/tastytea/expandurl-mastodon", + "https://git.schlomp.space/tastytea/expandurl-mastodon", client_id, client_secret, url); diff --git a/src/url.cpp b/src/url.cpp index 7b1bf74..b20da1d 100644 --- a/src/url.cpp +++ b/src/url.cpp @@ -69,6 +69,7 @@ const string expand(const string &url) catch (const std::exception &e) { syslog(LOG_ERR, "%s", e.what()); + // TODO: Do something when: "Couldn't resolve host …" syslog(LOG_NOTICE, "The previous error is ignored."); }