mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 12:23:32 +01:00
clean up the circuit-mark-for-close patch
svn:r3994
This commit is contained in:
parent
096879687a
commit
658463a751
@ -399,7 +399,7 @@ void _circuit_mark_for_close(circuit_t *circ, int line, const char *file)
|
||||
|
||||
if (circ->marked_for_close) {
|
||||
log(LOG_WARN,"Duplicate call to circuit_mark_for_close at %s:%d"
|
||||
" (first at %s:%d)", line, file,
|
||||
" (first at %s:%d)", file, line,
|
||||
circ->marked_for_close_file, circ->marked_for_close);
|
||||
return;
|
||||
}
|
||||
@ -457,7 +457,6 @@ void _circuit_mark_for_close(circuit_t *circ, int line, const char *file)
|
||||
circuit_mark_for_close(circ->rend_splice);
|
||||
circ->rend_splice = NULL;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
/** Verify that cpath layer <b>cp</b> has all of its invariants
|
||||
|
Loading…
Reference in New Issue
Block a user