From c96cf752bdf51ab412544f8c366209f261416d8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=20=EA=A6=AB=EA=A6=B6=20=EA=A6=8F=EA=A7=80?= =?UTF-8?q?=EA=A6=A6=EA=A6=BF=20=EA=A6=A7=20=EA=A6=AE=20=EA=A6=91=20?= =?UTF-8?q?=EA=A6=A9=20=EA=A6=AD=EA=A7=80?= Date: Thu, 12 Sep 2019 12:42:56 +0800 Subject: More consistent function names --- librtclient | 2 +- worker.cxx | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/librtclient b/librtclient index 73a484c..afcfe1b 160000 --- a/librtclient +++ b/librtclient @@ -1 +1 @@ -Subproject commit 73a484ced42c0370ea8569dc25be433904ca8647 +Subproject commit afcfe1bf43eab83357f88fc71ddeb9b0356fd3d0 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) -- cgit v1.2.3