When the DANGEROUS_VERSION controller status event told us we're

running an obsolete version, it used the string "OLD" to describe
it. Yet the "getinfo" interface used the string "OBSOLETE". Now use
"OBSOLETE" in both cases.


svn:r12686
This commit is contained in:
Roger Dingledine
2007-12-05 19:32:58 +00:00
parent a8d36c8243
commit 3ff63b6f4e
3 changed files with 13 additions and 8 deletions
+1 -1
View File
@@ -1479,7 +1479,7 @@ routers_update_all_from_networkstatus(time_t now, int dir_version)
have_warned_about_old_version = 1;
control_event_general_status(LOG_WARN, "DANGEROUS_VERSION "
"CURRENT=%s REASON=%s RECOMMENDED=\"%s\"",
VERSION, status == VS_OLD ? "OLD" : "UNRECOMMENDED",
VERSION, status == VS_OLD ? "OBSOLETE" : "UNRECOMMENDED",
recommended);
}
}