diff options
author | Robert Ransom <rransom.8774@gmail.com> | 2011-04-11 02:26:07 -0700 |
---|---|---|
committer | Robert Ransom <rransom.8774@gmail.com> | 2011-04-18 13:17:40 -0700 |
commit | bfebc942eaf7098e8d35f1de9159da450d5e3969 (patch) | |
tree | 7c190aa67b94a48b7d3a79e4f526436c6edb64a2 /src/or/routerparse.c | |
parent | 32341ac467d5fe51fa674eed4ca20db61ff5486b (diff) | |
download | tor-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.c | 2 |
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; } |