commit eb909c4e433087b466e78d33af8eed47adcabf16
parent b3c28677159c26070f26909b3f4c2e00e50d7bff
Author: Nick Mathewson <nickm@torproject.org>
Date: Thu, 5 Sep 2019 07:57:36 -0400
config: note that some arguments are required.
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git 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)