aboutsummaryrefslogtreecommitdiff
path: root/src/or/policies.c
diff options
context:
space:
mode:
authorSebastian Hahn <sebastian@torproject.org>2010-10-14 17:54:45 +0200
committerSebastian Hahn <sebastian@torproject.org>2010-10-14 17:54:45 +0200
commit9bed40eb103af93e0eb62c8cef2610e432426a5d (patch)
tree21662406783f692e95269197b91a9bc34e153786 /src/or/policies.c
parent4556f2e7c80274932019a239232235ce571c98f8 (diff)
downloadtor-9bed40eb103af93e0eb62c8cef2610e432426a5d.tar.gz
tor-9bed40eb103af93e0eb62c8cef2610e432426a5d.zip
Make check-spaces happy
Diffstat (limited to 'src/or/policies.c')
-rw-r--r--src/or/policies.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/or/policies.c b/src/or/policies.c
index f20fe79468..b7b377b6bd 100644
--- a/src/or/policies.c
+++ b/src/or/policies.c
@@ -1353,14 +1353,14 @@ parse_short_policy(const char *summary)
if (tor_sscanf(ent_buf, "%u-%u%c", &low, &high, &dummy) == 2) {
if (low<1 || low>65535 || high<1 || high>65535) {
- log_fn(LOG_PROTOCOL_WARN, LD_DIR,"Found bad entry in policy summary %s",
- escaped(orig_summary));
+ log_fn(LOG_PROTOCOL_WARN, LD_DIR,
+ "Found bad entry in policy summary %s", escaped(orig_summary));
return NULL;
}
} else if (tor_sscanf(ent_buf, "%u%c", &low, &dummy) == 1) {
if (low<1 || low>65535) {
- log_fn(LOG_PROTOCOL_WARN, LD_DIR,"Found bad entry in policy summary %s",
- escaped(orig_summary));
+ log_fn(LOG_PROTOCOL_WARN, LD_DIR,
+ "Found bad entry in policy summary %s", escaped(orig_summary));
return NULL;
}
high = low;
@@ -1447,7 +1447,8 @@ int
short_policy_is_reject_star(const short_policy_t *policy)
{
/* This doesn't need to be as much on the lookout as policy_is_reject_star,
- * since policy summaries are from the consensus or from consensus microdescs.
+ * since policy summaries are from the consensus or from consensus
+ * microdescs.
*/
tor_assert(policy);
/* Check for an exact match of "reject 1-65535". */