summaryrefslogtreecommitdiff
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
parent149e4f3f4abec70044c4f4683168627e006fcac5 (diff)
More consistent function names
m---------librtclient0
-rw-r--r--worker.cxx3
2 files changed, 2 insertions, 1 deletions
diff --git a/librtclient b/librtclient
-Subproject 73a484ced42c0370ea8569dc25be433904ca864
+Subproject afcfe1bf43eab83357f88fc71ddeb9b0356fd3d
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)