mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-22 15:25:14 +03:00
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:
1 parent
d77b4b0215
commit
5f9579b01f
1 file changed
+1
-3
+1
-3
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user