diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-07-20 04:49:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-07-20 04:49:55 +0000 |
commit | ab1bb5b7f1c3c3a7b240ab7fc8661459ecd7decb (patch) | |
tree | 7a900833aad3ccc685712c6c2a7d87576d54f427 /web/api/tests/web_api.c | |
parent | Adding upstream version 1.40.1. (diff) | |
download | netdata-ab1bb5b7f1c3c3a7b240ab7fc8661459ecd7decb.tar.xz netdata-ab1bb5b7f1c3c3a7b240ab7fc8661459ecd7decb.zip |
Adding upstream version 1.41.0.upstream/1.41.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | web/api/tests/web_api.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/web/api/tests/web_api.c b/web/api/tests/web_api.c index 93e6454ee..694929a94 100644 --- a/web/api/tests/web_api.c +++ b/web/api/tests/web_api.c @@ -46,7 +46,7 @@ void repr(char *result, int result_size, char const *buf, int size) ssize_t send(int sockfd, const void *buf, size_t len, int flags) { - info("Mocking send: %zu bytes\n", len); + netdata_log_info("Mocking send: %zu bytes\n", len); (void)sockfd; (void)buf; (void)flags; @@ -85,7 +85,7 @@ int __wrap_web_client_api_request_v1(RRDHOST *host, struct web_client *w, char * { char url_repr[160]; repr(url_repr, sizeof(url_repr), url, strlen(url)); - info("web_client_api_request_v1(url=\"%s\")\n", url_repr); + netdata_log_info("web_client_api_request_v1(url=\"%s\")\n", url_repr); check_expected_ptr(host); check_expected_ptr(w); check_expected_ptr(url_repr); @@ -302,7 +302,7 @@ static void api_info(void **state) char buffer_repr[1024]; repr(buffer_repr, sizeof(buffer_repr), def->instance->response.data->buffer,def->prefix_len); - info("Buffer contains: %s [first %zu]", buffer_repr,def->prefix_len); + netdata_log_info("Buffer contains: %s [first %zu]", buffer_repr,def->prefix_len); if (def->prefix_len == def->full_len) { expect_value(__wrap_web_client_api_request_v1, host, localhost); expect_value(__wrap_web_client_api_request_v1, w, def->instance); |