From b5321aff06d6ea8d730d62aec2ffd8e9271c1ffc Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 14 Apr 2022 20:12:10 +0200 Subject: Adding upstream version 1.34.0. Signed-off-by: Daniel Baumann --- web/api/tests/valid_urls.c | 4 ++-- web/api/tests/web_api.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'web/api/tests') diff --git a/web/api/tests/valid_urls.c b/web/api/tests/valid_urls.c index 30ae23247..30dc29828 100644 --- a/web/api/tests/valid_urls.c +++ b/web/api/tests/valid_urls.c @@ -75,9 +75,9 @@ void __wrap_finished_web_request_statistics( char *__wrap_config_get(struct config *root, const char *section, const char *name, const char *default_value) { - if (!strcmp(section, CONFIG_SECTION_WEB) && !strcmp(name, "web files owner")) - return "netdata"; (void)root; + (void)section; + (void)name; (void)default_value; return "UNKNOWN FIX ME"; } diff --git a/web/api/tests/web_api.c b/web/api/tests/web_api.c index b96213255..df4efdabd 100644 --- a/web/api/tests/web_api.c +++ b/web/api/tests/web_api.c @@ -75,9 +75,9 @@ void __wrap_finished_web_request_statistics( char *__wrap_config_get(struct config *root, const char *section, const char *name, const char *default_value) { - if (!strcmp(section, CONFIG_SECTION_WEB) && !strcmp(name, "web files owner")) - return "netdata"; (void)root; + (void)section; + (void)name; (void)default_value; return "UNKNOWN FIX ME"; } -- cgit v1.2.3