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

[vidalia-svn] r1323: We should probably load the torrc from the right location. N (trunk/src/control)



Author: hipplej
Date: 2006-10-09 05:59:49 -0400 (Mon, 09 Oct 2006)
New Revision: 1323

Modified:
   trunk/src/control/torservice.cpp
Log:
We should probably load the torrc from the right location. Naughty Justin.

Modified: trunk/src/control/torservice.cpp
===================================================================
--- trunk/src/control/torservice.cpp	2006-10-09 04:34:08 UTC (rev 1322)
+++ trunk/src/control/torservice.cpp	2006-10-09 09:59:49 UTC (rev 1323)
@@ -27,7 +27,6 @@
 
 #include "torservice.h"
 
-
 /** Returns true if services are supported. */
 bool
 TorService::isSupported()
@@ -46,8 +45,7 @@
 {
   Q_UNUSED(torrc);
 
-  // FIXME this is hardcoded for now
-  _torrc = "\"C:\\Program Files\\Tor\\torrc\"";
+  _torrc = "\"" + torrc + "\"";
   _torPath = "\"" + torPath + "\"";
   _manager = NULL;
   _service = NULL;