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

[vidalia-svn] r1266: Default a server's status to online, since the only way we k (trunk/src/control)



Author: edmanm
Date: 2006-10-03 14:39:50 -0400 (Tue, 03 Oct 2006)
New Revision: 1266

Modified:
   trunk/src/control/routerdescriptor.cpp
Log:
Default a server's status to online, since the only way we know it is offline
is if we get a "!" before its name or digest in network-status, and we already
handle that. We also know if the server is hibernating from its descriptor.


Modified: trunk/src/control/routerdescriptor.cpp
===================================================================
--- trunk/src/control/routerdescriptor.cpp	2006-10-03 18:17:15 UTC (rev 1265)
+++ trunk/src/control/routerdescriptor.cpp	2006-10-03 18:39:50 UTC (rev 1266)
@@ -35,6 +35,7 @@
  * See tor-spec.txt for details. */
 RouterDescriptor::RouterDescriptor(QStringList descriptor)
 {
+  _status = Online;
   parseDescriptor(descriptor);
 }