]> granicus.if.org Git - transmission/commitdiff
Revert debugging code...
authorMike Gelfand <mikedld@mikedld.com>
Mon, 3 Oct 2016 18:54:21 +0000 (21:54 +0300)
committerMike Gelfand <mikedld@mikedld.com>
Mon, 3 Oct 2016 18:54:21 +0000 (21:54 +0300)
qt/Session.cc

index 381f5a42c2ecb5eedcf53e33d9564f51700a468a..9ac09849a54c4e68e545c9e2cbf45646e5f31ce5 100644 (file)
@@ -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