diff options
author | Karsten Loesing <karsten.loesing@gmx.net> | 2009-05-03 01:04:25 +0200 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2009-05-04 13:46:30 -0400 |
commit | 948835c6809932a3013846302a74f1ccf9d4c99c (patch) | |
tree | 45a645f269454f43abbc3a51d63b18c1f34c84bf /src/or/connection.c | |
parent | 592f9571690514ebff0df9732b927bbfdba136a7 (diff) | |
download | tor-948835c6809932a3013846302a74f1ccf9d4c99c.tar.gz tor-948835c6809932a3013846302a74f1ccf9d4c99c.zip |
Remove unused rendversion parameters. YAGNI.
Diffstat (limited to 'src/or/connection.c')
-rw-r--r-- | src/or/connection.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/or/connection.c b/src/or/connection.c index 812d021531..7b14f7550a 100644 --- a/src/or/connection.c +++ b/src/or/connection.c @@ -2569,16 +2569,13 @@ connection_get_by_type_state(int type, int state) /** Return a connection of type <b>type</b> that has rendquery equal * to <b>rendquery</b>, and that is not marked for close. If state - * is non-zero, conn must be of that state too. (rendversion is - * ignored.) + * is non-zero, conn must be of that state too. */ connection_t * connection_get_by_type_state_rendquery(int type, int state, - const char *rendquery, - int rendversion) + const char *rendquery) { smartlist_t *conns = get_connection_array(); - (void) rendversion; tor_assert(type == CONN_TYPE_DIR || type == CONN_TYPE_AP || type == CONN_TYPE_EXIT); |