From 4b4797a220145ccce6b1b12751b29ce2fb7d05b8 Mon Sep 17 00:00:00 2001 From: Mike Gelfand Date: Mon, 3 Oct 2016 21:54:21 +0300 Subject: [PATCH] Revert debugging code... --- qt/Session.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt/Session.cc b/qt/Session.cc index 381f5a42c..9ac09849a 100644 --- a/qt/Session.cc +++ b/qt/Session.cc @@ -804,7 +804,7 @@ Session::updateInfo (tr_variant * d) if (mySessionId != sessionId) { mySessionId = sessionId; - myIsDefinitelyLocalSession = rand() % 2; // tr_session_id_is_local (str); + myIsDefinitelyLocalSession = tr_session_id_is_local (str); } } else -- 2.40.0