[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] config: Improve some function comments



commit a18e84ad01e3e0b5fa68d897b385f7d10cdfb97a
Author: teor <teor@xxxxxxxxxxxxxx>
Date:   Thu Oct 31 11:11:51 2019 +1000

    config: Improve some function comments
---
 src/app/config/config.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/app/config/config.c b/src/app/config/config.c
index 9b75f96a8..61a4021ed 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_,

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits