mirror of
https://github.com/obgm/libcoap.git
synced 2026-12-05 20:02:19 +03:00
nits: Fix runtime warnings
src/coap_debug.c: Increase available buffer space. src/coap_gnutls.c Do not access NULL pointer offset.
This commit is contained in:
1 parent
4cab59dbbf
commit
7b9f7db224
2 files changed
+3
-2
No files matched your search
+1
-1
@@ -743,7 +743,7 @@ coap_show_pdu(coap_log_t level, const coap_pdu_t *pdu) {
|
||||
|
||||
void coap_show_tls_version(coap_log_t level)
|
||||
{
|
||||
char buffer[64];
|
||||
char buffer[128];
|
||||
coap_string_tls_version(buffer, sizeof(buffer));
|
||||
coap_log(level, "%s\n", buffer);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user