[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [vidalia/alpha] Fix issue when restarting without being started
commit 20eff7c2c0158b29e01a4d7fc6a54eb6093326de
Author: Tomas Touceda <chiiph@xxxxxxxxxx>
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();
}
}
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits