summaryrefslogtreecommitdiff
path: root/src/or/rendcommon.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-12-10 09:36:26 +0000
committerRoger Dingledine <arma@torproject.org>2005-12-10 09:36:26 +0000
commit58366ffd249590d3f99296563e3f0a189efd568b (patch)
treeb6f6016f5dc748002315335361c8b1b4a5ed813b /src/or/rendcommon.c
parent9b0a40ec7866005928e49b4717d626e64057c331 (diff)
downloadtor-58366ffd249590d3f99296563e3f0a189efd568b.tar.gz
tor-58366ffd249590d3f99296563e3f0a189efd568b.zip
when we changed from log_fn to debug/info/notice/warn/err,
we screwed up the formatting in wild and unpredictable ways. fix it before it becomes convention to format logs in wild and unpredictable ways. still need to do src/common/ someday. svn:r5551
Diffstat (limited to 'src/or/rendcommon.c')
-rw-r--r--src/or/rendcommon.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/rendcommon.c b/src/or/rendcommon.c
index 784a56a3dd..c771a8d9de 100644
--- a/src/or/rendcommon.c
+++ b/src/or/rendcommon.c
@@ -189,7 +189,7 @@ rend_parse_service_descriptor(const char *str, size_t len)
if ((size_t)(end-cp) < keylen) goto truncated;
if ((size_t)(end-cp) > keylen) {
warn(LD_PROTOCOL, "Signature is %d bytes too long on service descriptor.",
- (int)((size_t)(end-cp) - keylen));
+ (int)((size_t)(end-cp) - keylen));
goto error;
}
if (crypto_pk_public_checksig_digest(result->pk,
@@ -378,7 +378,7 @@ rend_cache_store(const char *desc, size_t desc_len)
}
if (parsed->timestamp > now+REND_CACHE_MAX_SKEW) {
warn(LD_REND,"Service descriptor %s is too far in the future.",
- safe_str(query));
+ safe_str(query));
rend_service_descriptor_free(parsed);
return -1;
}
@@ -408,7 +408,7 @@ rend_cache_store(const char *desc, size_t desc_len)
memcpy(e->desc, desc, desc_len);
debug(LD_REND,"Successfully stored rend desc '%s', len %d.",
- safe_str(query), (int)desc_len);
+ safe_str(query), (int)desc_len);
return 1;
}