Browse Source

a few typo fixes

svn:r4738
Roger Dingledine 19 years ago
parent
commit
2e918af35d
1 changed files with 7 additions and 6 deletions
  1. 7 6
      src/or/config.c

+ 7 - 6
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)