[tor-commits] [vidalia/master] Fix minor logic bug with take ownership
chiiph at torproject.org
chiiph at torproject.org
Sat Feb 11 15:50:53 UTC 2012
commit 2a5ddb14f4bfac645a4747268540a94027789062
Author: Tomás Touceda <chiiph at torproject.org>
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);
More information about the tor-commits
mailing list