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

[or-cvs] make it louder when we"re running an unrecommended version.



Update of /home2/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/cvs/tor/src/or

Modified Files:
	routerlist.c 
Log Message:
make it louder when we're running an unrecommended version.

also, we need to tell them what versions *are* recommended.
i'll add that to the todo.


Index: routerlist.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/routerlist.c,v
retrieving revision 1.429
retrieving revision 1.430
diff -u -p -d -r1.429 -r1.430
--- routerlist.c	24 Jan 2006 00:31:16 -0000	1.429
+++ routerlist.c	24 Jan 2006 03:45:58 -0000	1.430
@@ -2750,10 +2750,12 @@ routers_update_all_from_networkstatus(vo
           have_warned_about_new_version = 1;
         }
       } else {
-        notice(LD_GENERAL, "This version of Tor (%s) is %s, according to "
-               "%d/%d recent network statuses.",
-               VERSION, consensus == VS_OLD ? "obsolete" : "not recommended",
-               n_recent-n_recommended, n_recent);
+        warn(LD_GENERAL, "Please upgrade! "
+             "This version of Tor (%s) is %s, according to "
+             "%d/%d recent network statuses.",
+             VERSION, consensus == VS_OLD ? "obsolete" : "not recommended",
+             n_recent-n_recommended, n_recent);
+        /* XXX011 we need to tell them what versions *are* recommended! */
         have_warned_about_old_version = 1;
       }
     } else {