summaryrefslogtreecommitdiff
path: root/src/or/router.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-09-06 11:38:32 -0400
committerNick Mathewson <nickm@torproject.org>2012-09-06 11:38:32 -0400
commitf4cf279eb58f5d0a61f603bd961b58e51cd82bc3 (patch)
tree1cba486155d27bb1a4e0dd56032e7825376df264 /src/or/router.c
parent09c84b50e71a7c65f1b891e396bb9ad811588dad (diff)
downloadtor-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/router.c')
-rw-r--r--src/or/router.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/router.c b/src/or/router.c
index 9a3ef9dccf..bb8a6e3721 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -891,7 +891,7 @@ extend_info_from_router(const routerinfo_t *r)
tor_assert(r);
router_get_prim_orport(r, &ap);
- return extend_info_alloc(r->nickname, r->cache_info.identity_digest,
+ return extend_info_new(r->nickname, r->cache_info.identity_digest,
r->onion_pkey, &ap.addr, ap.port);
}