summaryrefslogtreecommitdiff
path: root/src/or/rendservice.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2007-09-18 23:34:27 +0000
committerRoger Dingledine <arma@torproject.org>2007-09-18 23:34:27 +0000
commit82da6c02baa83e9e877657d51bfce8ffae3c6bf2 (patch)
tree4e3f8b503a1bd1db79e3cabb40d9897987b2b7b4 /src/or/rendservice.c
parenteb9dc12ce94749665962d9ca30f76ac4341e2662 (diff)
downloadtor-82da6c02baa83e9e877657d51bfce8ffae3c6bf2.tar.gz
tor-82da6c02baa83e9e877657d51bfce8ffae3c6bf2.zip
clean up r11496
svn:r11498
Diffstat (limited to 'src/or/rendservice.c')
-rw-r--r--src/or/rendservice.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/or/rendservice.c b/src/or/rendservice.c
index 3beb7d508b..587e5df98a 100644
--- a/src/or/rendservice.c
+++ b/src/or/rendservice.c
@@ -301,7 +301,8 @@ rend_service_update_descriptor(rend_service_t *service)
d->n_intro_points = 0;
d->intro_points = tor_malloc_zero(sizeof(char*)*n);
d->intro_point_extend_info = tor_malloc_zero(sizeof(extend_info_t*)*n);
- d->protocols = (1<<2) | (1<<0); /* We support protocol 2 and protocol 0. */
+ /* We support intro protocol 2 and protocol 0. */
+ d->protocols = (1<<2) | (1<<0);
for (i=0; i < n; ++i) {
router = router_get_by_nickname(smartlist_get(service->intro_nodes, i),1);
if (!router) {
@@ -541,7 +542,7 @@ rend_service_introduce(origin_circuit_t *circuit, const char *request,
* any */
router = router_get_by_nickname(rp_nickname, 0);
if (!router) {
- log_info(LD_REND, "Couldn't find router %s named in rendezvous cell.",
+ log_info(LD_REND, "Couldn't find router %s named in introduce2 cell.",
escaped_safe_str(rp_nickname));
/* XXXX Add a no-such-router reason? */
reason = END_CIRC_REASON_TORPROTOCOL;