summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--changes/bug71154
-rw-r--r--src/or/dirserv.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/changes/bug7115 b/changes/bug7115
new file mode 100644
index 0000000000..976b9a9e85
--- /dev/null
+++ b/changes/bug7115
@@ -0,0 +1,4 @@
+ o Minor bugfixes (portability)
+ - Remove a couple of extraneous semicolos that were upsetting the
+ cparser library. Patch by Christian Grothoff. Fixes bug 7115;
+ bugfix on 0.2.2.1-alpha.
diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index 2351386b30..8af848ca02 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -2181,7 +2181,7 @@ routerstatus_format_entry(char *buf, size_t buf_len,
"(wanted descriptor %s).",
id, dd);
return -1;
- };
+ }
/* This assert can fire for the control port, because
* it can request NS documents before all descriptors
@@ -2205,7 +2205,7 @@ routerstatus_format_entry(char *buf, size_t buf_len,
tor_assert(tor_memeq(desc->cache_info.signed_descriptor_digest,
rs->descriptor_digest,
DIGEST_LEN));
- };
+ }
}
if (format == NS_CONTROL_PORT && rs->has_bandwidth) {