summaryrefslogtreecommitdiff
path: root/worker.cxx
diff options
context:
space:
mode:
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)