summaryrefslogtreecommitdiff
path: root/worker.cxx
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-12 13:06:48 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-12 13:06:48 +0800
commitac1d174658c81a0a4c867d6945a7115f9cb961ac (patch)
tree47dab6c238098ca0e8a1bf6bc35874dad01ec8de /worker.cxx
parent2705efd2ded0924b94f9576943e34ca60b0b3b97 (diff)
The user nullness can be tested now
Diffstat (limited to 'worker.cxx')
-rw-r--r--worker.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/worker.cxx b/worker.cxx
index e4f796a..bdb29e0 100644
--- a/worker.cxx
+++ b/worker.cxx
@@ -9,12 +9,9 @@ Worker::Worker()
void Worker::logIn(QString const& name, QString const& password)
{
rtclient_login(name.toLatin1().constData(), password.toLatin1().constData());
- /*
struct rt_user *user = NULL;
rtclient_userget(&user, name.toLatin1().constData());
- if (user)
- rtclient_userfree(user);
- */
+ if (user) rtclient_userfree(user);
}
void Worker::search(QString const& owner)