summaryrefslogtreecommitdiff
path: root/src/or/routerparse.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-04-19 12:40:26 -0400
committerNick Mathewson <nickm@torproject.org>2011-04-19 12:40:29 -0400
commit5cc322e5472996fda6095e54de302c0f5c68ea92 (patch)
treef3e4dac166febcfde7c80bbb34e5914da9171170 /src/or/routerparse.c
parent177cadff8d4ca01aad21abea44c7ecc0731525d6 (diff)
downloadtor-5cc322e5472996fda6095e54de302c0f5c68ea92.tar.gz
tor-5cc322e5472996fda6095e54de302c0f5c68ea92.zip
Standardize our printf code on %d, not %i.
Diffstat (limited to 'src/or/routerparse.c')
-rw-r--r--src/or/routerparse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c
index dd72eb6bb4..ba29f056f1 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;
}