fix typo, remove extraneous variable

svn:r6311
This commit is contained in:
Roger Dingledine
2006-04-03 11:24:14 +00:00
parent 7198af7fbe
commit 453062b028
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -676,7 +676,7 @@ _circuit_mark_for_close(circuit_t *circ, int reason, int line,
reason = END_CIRC_REASON_NONE;
} else if (CIRCUIT_IS_ORIGIN(circ) && reason != END_CIRC_REASON_NONE) {
/* Don't warn about this; there are plenty of places where our code
* is origin-agnosic. */
* is origin-agnostic. */
reason = END_CIRC_REASON_NONE;
}
if (reason < _END_CIRC_REASON_MIN || reason > _END_CIRC_REASON_MAX) {
-1
View File
@@ -2612,7 +2612,6 @@ compute_recommended_versions(time_t now, int client)
{
const char *vers;
smartlist_t *versions;
int i;
if (! ns->recommends_versions)
continue;
if (ns->received_on + SELF_OPINION_INTERVAL < now)