diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-04-19 12:41:01 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-04-19 12:41:01 -0400 |
commit | 4a7f979b54c1400190e037b818a241b92e40aabd (patch) | |
tree | ef602fa3031a62cad0ce87f5037ea5f4fe479d8e /src/or/routerparse.c | |
parent | 9eeb902d1215afb54f26c91a5e6e372b9b2553f2 (diff) | |
parent | 5cc322e5472996fda6095e54de302c0f5c68ea92 (diff) | |
download | tor-4a7f979b54c1400190e037b818a241b92e40aabd.tar.gz tor-4a7f979b54c1400190e037b818a241b92e40aabd.zip |
Merge remote-tracking branch 'origin/maint-0.2.2'
Diffstat (limited to 'src/or/routerparse.c')
-rw-r--r-- | src/or/routerparse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c index 91e897ab1d..e44fd8c989 100644 --- a/src/or/routerparse.c +++ b/src/or/routerparse.c @@ -4641,8 +4641,8 @@ rend_parse_v2_service_descriptor(rend_service_descriptor_t **parsed_out, if (eos-desc > REND_DESC_MAX_SIZE) { /* XXX023 If we are parsing this descriptor as a server, this * should be a protocol warning. */ - log_warn(LD_REND, "Descriptor length is %i which exceeds " - "maximum rendezvous descriptor size of %i bytes.", + log_warn(LD_REND, "Descriptor length is %d which exceeds " + "maximum rendezvous descriptor size of %d bytes.", (int)(eos-desc), REND_DESC_MAX_SIZE); goto err; } |