From 5f9579b01fd9baff39c39f503154dbe311c416e4 Mon Sep 17 00:00:00 2001 From: Olaf Bergmann Date: Fri, 15 Apr 2016 13:18:31 +0200 Subject: [PATCH] client.c: Pass coap log level to DTLS library The log level now is set by the new function coap_dtls_set_log_level(). --- examples/client.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/examples/client.c b/examples/client.c index c9d0ec36..a92d1e1a 100644 --- a/examples/client.c +++ b/examples/client.c @@ -31,8 +31,6 @@ * identity) in bytes. */ #define MAX_KEY 64 /* Maximum length of a key (i.e., PSK) in bytes. */ -void dtls_set_log_level(int); - int flags = 0; static unsigned char _token_data[8]; @@ -1168,7 +1166,7 @@ main(int argc, char **argv) { } } - dtls_set_log_level(log_level); + coap_dtls_set_log_level(log_level); coap_set_log_level(log_level); if (optind < argc) {