From 3c8baa77a1d2f5a0235adc48ad5650340683e8ee Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Fri, 19 Aug 2016 20:21:04 -0400 Subject: Log a warning when Testing options are deprecated. --- src/or/confparse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/or/confparse.c') diff --git a/src/or/confparse.c b/src/or/confparse.c index e9d56455f0..efcf4f981e 100644 --- a/src/or/confparse.c +++ b/src/or/confparse.c @@ -184,7 +184,7 @@ config_free_lines(config_line_t *front) /** If key is a deprecated configuration option, return the message * explaining why it is deprecated (which may be an empty string). Return NULL * if it is not deprecated. The key field must be fully expanded. */ -static const char * +const char * config_find_deprecation(const config_format_t *fmt, const char *key) { if (BUG(fmt == NULL) || BUG(key == NULL)) -- cgit v1.2.3-54-g00ecf