summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2019-10-31 11:11:51 +1000
committerteor <teor@torproject.org>2019-10-31 11:11:51 +1000
commita18e84ad01e3e0b5fa68d897b385f7d10cdfb97a (patch)
tree8be19655edd01b3a42e17518e3e20a437346d263
parent4666ca73a1af2d60398f2a08d9110f42a6a37e1b (diff)
downloadtor-a18e84ad01e3e0b5fa68d897b385f7d10cdfb97a.tar.gz
tor-a18e84ad01e3e0b5fa68d897b385f7d10cdfb97a.zip
config: Improve some function comments
-rw-r--r--src/app/config/config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app/config/config.c b/src/app/config/config.c
index 9b75f96a83..61a4021edc 100644
--- a/src/app/config/config.c
+++ b/src/app/config/config.c
@@ -3316,7 +3316,7 @@ warn_if_option_path_is_relative(const char *option,
}
/** Scan <b>options</b> for occurrences of relative file/directory
- * path and log a warning whenever it is found.
+ * paths and log a warning whenever one is found.
*
* Return 1 if there were relative paths; 0 otherwise.
*/
@@ -4824,7 +4824,7 @@ opt_streq(const char *s1, const char *s2)
return 0 == strcmp_opt(s1, s2);
}
-/** Check if any of the previous options have changed but aren't allowed to. */
+/** Check if any config options have changed but aren't allowed to. */
static int
options_check_transition_cb(const void *old_,
const void *new_val_,