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

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



commit eb909c4e433087b466e78d33af8eed47adcabf16
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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)



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