diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-09-06 11:38:32 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-09-06 11:38:32 -0400 |
commit | f4cf279eb58f5d0a61f603bd961b58e51cd82bc3 (patch) | |
tree | 1cba486155d27bb1a4e0dd56032e7825376df264 /src/or/circuitbuild.h | |
parent | 09c84b50e71a7c65f1b891e396bb9ad811588dad (diff) | |
download | tor-f4cf279eb58f5d0a61f603bd961b58e51cd82bc3.tar.gz tor-f4cf279eb58f5d0a61f603bd961b58e51cd82bc3.zip |
Rename extend_info_alloc() --> _new()
Based on a patch from Linus, regenerated so as to not conflict with
Linus's 5535/6363 patches.
Diffstat (limited to 'src/or/circuitbuild.h')
-rw-r--r-- | src/or/circuitbuild.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/circuitbuild.h b/src/or/circuitbuild.h index 7083db12fb..bc775c3775 100644 --- a/src/or/circuitbuild.h +++ b/src/or/circuitbuild.h @@ -41,7 +41,7 @@ int circuit_all_predicted_ports_handled(time_t now, int *need_uptime, int circuit_append_new_exit(origin_circuit_t *circ, extend_info_t *info); int circuit_extend_to_new_exit(origin_circuit_t *circ, extend_info_t *info); void onion_append_to_cpath(crypt_path_t **head_ptr, crypt_path_t *new_hop); -extend_info_t *extend_info_alloc(const char *nickname, const char *digest, +extend_info_t *extend_info_new(const char *nickname, const char *digest, crypto_pk_t *onion_key, const tor_addr_t *addr, uint16_t port); extend_info_t *extend_info_from_node(const node_t *r, int for_direct_connect); |