summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-08-07 21:58:23 +0000
committerRoger Dingledine <arma@torproject.org>2005-08-07 21:58:23 +0000
commit2e918af35d5132ec32cf5bc081a01393524ffc99 (patch)
tree43b0934a34b4987388c88194f934e2eaee22678c
parent01d07889507f7d6bdb80afc4e0bb6802b6fe2c8c (diff)
downloadtor-2e918af35d5132ec32cf5bc081a01393524ffc99.tar.gz
tor-2e918af35d5132ec32cf5bc081a01393524ffc99.zip
a few typo fixes
svn:r4738
-rw-r--r--src/or/config.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/or/config.c b/src/or/config.c
index d794add414..0c6f6c0e9a 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -1415,8 +1415,9 @@ options_dump(or_options_t *options, int minimal)
return config_dump(&options_format, options, minimal);
}
-/* Return 0 if every element of sl is string holding a decimal representation
- * of a port number, or if sl is NULL. Otherwise return -1. */
+/* Return 0 if every element of sl is a string holding a decimal
+ * representation of a port number, or if sl is NULL.
+ * Otherwise return -1. */
static int
validate_ports_csv(smartlist_t *sl, const char *name)
{
@@ -1438,8 +1439,8 @@ validate_ports_csv(smartlist_t *sl, const char *name)
return result;
}
-/* Return 0 if every element of sl is string holding an IP with optional mask
- * and port, or if sl is NULL. Otherwise return -1. */
+/* Return 0 if every element of sl is a string holding an IP with
+ * optional mask and port, or if sl is NULL. Otherwise return -1. */
static int
validate_addr_port_ranges_csv(smartlist_t *sl, const char *name)
{
@@ -1461,8 +1462,8 @@ validate_addr_port_ranges_csv(smartlist_t *sl, const char *name)
return result;
}
-/** Return true iff we are configured to thing that the local fascist firewall
- * (if any) will allow a connection to <b>addr</b>:<b>port</b> */
+/** Return true iff we are configured to think that the local fascist
+ * firewall (if any) will allow a connection to <b>addr</b>:<b>port</b> */
int
fascist_firewall_allows_address(or_options_t *options, uint32_t addr,
uint16_t port)