summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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)