[tor-commits] [tor/master] config: note that some arguments are required.

asn at torproject.org asn at torproject.org
Thu Sep 5 14:12:49 UTC 2019


commit eb909c4e433087b466e78d33af8eed47adcabf16
Author: Nick Mathewson <nickm at torproject.org>
Date:   Thu Sep 5 07:57:36 2019 -0400

    config: note that some arguments are required.
---
 src/app/config/confparse.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/app/config/confparse.c b/src/app/config/confparse.c
index b0ff4daa8..054d2addb 100644
--- a/src/app/config/confparse.c
+++ b/src/app/config/confparse.c
@@ -581,6 +581,8 @@ config_mark_lists_fragile(const config_mgr_t *mgr, void *options)
 /**
  * Log a warning that declaring that the option called <b>what</b>
  * is deprecated because of the reason in <b>why</b>.
+ *
+ * (Both arguments must be non-NULL.)
  **/
 void
 warn_deprecated_option(const char *what, const char *why)





More information about the tor-commits mailing list