diff options
author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-12 13:06:48 +0800 |
---|---|---|
committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-12 13:06:48 +0800 |
commit | ac1d174658c81a0a4c867d6945a7115f9cb961ac (patch) | |
tree | 47dab6c238098ca0e8a1bf6bc35874dad01ec8de /worker.cxx | |
parent | 2705efd2ded0924b94f9576943e34ca60b0b3b97 (diff) |
The user nullness can be tested now
Diffstat (limited to 'worker.cxx')
-rw-r--r-- | worker.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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) |