summaryrefslogtreecommitdiff
path: root/src/or/routerparse.c
diff options
context:
space:
mode:
authorRobert Ransom <rransom.8774@gmail.com>2011-04-11 02:26:07 -0700
committerRobert Ransom <rransom.8774@gmail.com>2011-04-18 13:17:40 -0700
commitbfebc942eaf7098e8d35f1de9159da450d5e3969 (patch)
tree7c190aa67b94a48b7d3a79e4f526436c6edb64a2 /src/or/routerparse.c
parent32341ac467d5fe51fa674eed4ca20db61ff5486b (diff)
downloadtor-bfebc942eaf7098e8d35f1de9159da450d5e3969.tar.gz
tor-bfebc942eaf7098e8d35f1de9159da450d5e3969.zip
Correct the warning emitted when rejecting an oversized HS desc
Diffstat (limited to 'src/or/routerparse.c')
-rw-r--r--src/or/routerparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c
index 1faa177edf..28ecaf0ad7 100644
--- a/src/or/routerparse.c
+++ b/src/or/routerparse.c
@@ -3629,7 +3629,7 @@ rend_parse_v2_service_descriptor(rend_service_descriptor_t **parsed_out,
/* Check length. */
if (strlen(desc) > REND_DESC_MAX_SIZE) {
log_warn(LD_REND, "Descriptor length is %i which exceeds "
- "maximum rendezvous descriptor size of %i kilobytes.",
+ "maximum rendezvous descriptor size of %i bytes.",
(int)strlen(desc), REND_DESC_MAX_SIZE);
goto err;
}