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

[or-cvs] clean up a bit more code



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

Modified Files:
	routerparse.c 
Log Message:
clean up a bit more code


Index: routerparse.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/routerparse.c,v
retrieving revision 1.145
retrieving revision 1.146
diff -u -d -r1.145 -r1.146
--- routerparse.c	18 Sep 2005 02:51:12 -0000	1.145
+++ routerparse.c	20 Sep 2005 19:50:43 -0000	1.146
@@ -259,8 +259,8 @@
  * (versionlist is a comma-separated list of version strings,
  * optionally prefixed with "Tor".  Versions that can't be parsed are
  * ignored.) */
-/* static */ int is_obsolete_version(const char *myversion,
-                           const char *versionlist) {
+/* static */ int
+is_obsolete_version(const char *myversion, const char *versionlist) {
   const char *vl;
   tor_version_t mine, other;
   int found_newer = 0, found_newer_in_series = 0, found_any_in_series = 0,
@@ -270,7 +270,8 @@
 
   vl = versionlist;
 
-  log_fn(LOG_DEBUG,"Checking whether version '%s' is in '%s'", myversion, versionlist);
+  log_fn(LOG_DEBUG,"Checking whether version '%s' is in '%s'",
+         myversion, versionlist);
 
   if (tor_version_parse(myversion, &mine)) {
     log_fn(LOG_ERR, "I couldn't parse my own version (%s)", myversion);
@@ -308,7 +309,7 @@
       /* We belong to a series with recommended members, and we are newer than
        * any recommended member. We're probably okay. */
       if (!warned_too_new) {
-        log(LOG_WARN, "This version of Tor (%s) is newer than any in the same series on the recommended list (%s)",
+        log(LOG_WARN, "This version of Tor (%s) is newer than any in the same series on the recommended list (%s).",
             myversion, versionlist);
         warned_too_new = 1;
       }
@@ -326,7 +327,7 @@
       /* We belong to a series with no recommended members, and it's
        * newer than any recommended series. We're probably okay. */
       if (!warned_too_new) {
-        log(LOG_WARN, "This version of Tor (%s) is newer than any on the recommended list (%s)",
+        log(LOG_WARN, "This version of Tor (%s) is newer than any on the recommended list (%s).",
             myversion, versionlist);
         warned_too_new = 1;
       }