summaryrefslogtreecommitdiff
path: root/worker.cxx
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-12 12:42:56 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-12 12:42:56 +0800
commitc96cf752bdf51ab412544f8c366209f261416d8c (patch)
tree6349f9b0fa419a820b759caa71bb9e5c93d245f3 /worker.cxx
parent149e4f3f4abec70044c4f4683168627e006fcac5 (diff)
More consistent function names
Diffstat (limited to 'worker.cxx')
-rw-r--r--worker.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/worker.cxx b/worker.cxx
index 0a7ef7e..d411456 100644
--- a/worker.cxx
+++ b/worker.cxx
@@ -9,7 +9,8 @@ Worker::Worker()
void Worker::logIn(QString const& name, QString const& password)
{
rtclient_login(name.toLatin1().constData(), password.toLatin1().constData());
- rtclient_user(name.toLatin1().constData());
+ auto user = rtclient_userget(name.toLatin1().constData());
+ rtclient_userfree(user);
}
void Worker::search(QString const& owner)