examples: Fix truncated usage() output

Increase scratch buffer size (needed for Mbed TLS)
This commit is contained in:
Jon Shallow committed 2021-04-29 11:39:02 +01:00
1 parent c99b39f094
commit dbaf580e75
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -409,7 +409,7 @@ message_handler(coap_session_t *session COAP_UNUSED,
static void
usage( const char *program, const char *version) {
const char *p;
char buffer[64];
char buffer[72];
coap_tls_version_t *tls_version = coap_get_tls_library_version();
const char *lib_version = coap_package_version();
+1 -1
View File
@@ -568,7 +568,7 @@ init_resources(coap_context_t *ctx) {
static void
usage( const char *program, const char *version) {
const char *p;
char buffer[64];
char buffer[72];
coap_tls_version_t *tls_version = coap_get_tls_library_version();
const char *lib_version = coap_package_version();
+1 -1
View File
@@ -2102,7 +2102,7 @@ fill_keystore(coap_context_t *ctx) {
static void
usage( const char *program, const char *version) {
const char *p;
char buffer[64];
char buffer[72];
coap_tls_version_t *tls_version = coap_get_tls_library_version();
const char *lib_version = coap_package_version();