client.c: Pass coap log level to DTLS library

The log level now is set by the new function coap_dtls_set_log_level().
This commit is contained in:
Olaf Bergmann committed 2016-04-15 13:18:31 +02:00
1 parent d77b4b0215
commit 5f9579b01f
1 file changed
+1 -3
+1 -3
View File
@@ -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) {