[tor-commits] [vidalia/alpha] Fix issue when restarting without being started

chiiph at torproject.org chiiph at torproject.org
Fri May 20 01:44:50 UTC 2011


commit 20eff7c2c0158b29e01a4d7fc6a54eb6093326de
Author: Tomas Touceda <chiiph at gentoo.org>
Date:   Wed May 18 02:25:37 2011 -0300

    Fix issue when restarting without being started
---
 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 195af30..cf3e532 100644
--- a/src/vidalia/MainWindow.cpp
+++ b/src/vidalia/MainWindow.cpp
@@ -1403,7 +1403,7 @@ MainWindow::toString(TorStatus status)
 void
 MainWindow::restart()
 {
-  if(_torControl->stop()) {
+  if(stop()) {
     start();
   }
 }





More information about the tor-commits mailing list