[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [vidalia/master] Fix minor logic bug with take ownership



commit 2a5ddb14f4bfac645a4747268540a94027789062
Author: Tomás Touceda <chiiph@xxxxxxxxxxxxxx>
Date:   Sat Feb 11 12:50:01 2012 -0300

    Fix minor logic bug with take ownership
---
 src/vidalia/MainWindow.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/vidalia/MainWindow.cpp b/src/vidalia/MainWindow.cpp
index f6c210c..d170d47 100644
--- a/src/vidalia/MainWindow.cpp
+++ b/src/vidalia/MainWindow.cpp
@@ -1352,7 +1352,7 @@ void
 MainWindow::connected()
 {
   authenticate();
-  if(!_torControl->isVidaliaRunningTor()) {
+  if(_torControl->isVidaliaRunningTor()) {
     QString err;
     if(!_torControl->takeOwnership(&err))
       vWarn(err);

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits