summary refs log tree commit diff
path: root/src/main.cc
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2018-07-15 19:09:08 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-07-15 19:09:08 +0300
commit33490eddab385ca488b11d6d50683ddb6a18da6c (patch)
treef597b53c3baf0c96a0d7226f28f50740acd8b256 /src/main.cc
parentUser reverse iterator instead of while loop (diff)
downloadnheko-33490eddab385ca488b11d6d50683ddb6a18da6c.tar.xz
Remove the v2 namespace from the http client
Diffstat (limited to 'src/main.cc')
-rw-r--r--src/main.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cc b/src/main.cc

index 67c98339..b776e902 100644 --- a/src/main.cc +++ b/src/main.cc
@@ -200,9 +200,9 @@ main(int argc, char *argv[]) QObject::connect(&app, &QApplication::aboutToQuit, &w, [&w]() { w.saveCurrentWindowSize(); - if (http::v2::client() != nullptr) { + if (http::client() != nullptr) { nhlog::net()->debug("shutting down all I/O threads & open connections"); - http::v2::client()->close(true); + http::client()->close(true); nhlog::net()->debug("bye"); } });