aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--changes/bug27506
-rw-r--r--src/or/routerparse.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/changes/bug2750 b/changes/bug2750
new file mode 100644
index 000000000..4371a0a4e
--- /dev/null
+++ b/changes/bug2750
@@ -0,0 +1,6 @@
+ o Minor bugfixes
+ - Correct the warning displayed when a rendezvous descriptor exceeds
+ the maximum size. Fixes bug 2750; bugfix on 0.2.1.5-alpha. Found
+ by John Brooks.
+
+
diff --git a/src/or/routerparse.c b/src/or/routerparse.c
index 1faa177ed..28ecaf0ad 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;
}