kopia lustrzana https://github.com/espressif/esp-idf
example/openssl_client: Fix http string "printf" error without end character '\0'
rodzic
153275b743
commit
d523a5181b
|
@ -137,6 +137,7 @@ static void openssl_example_task(void *p)
|
|||
if (ret <= 0) {
|
||||
break;
|
||||
}
|
||||
recv_buf[ret] = '\0';
|
||||
recv_bytes += ret;
|
||||
ESP_LOGI(TAG, "%s", recv_buf);
|
||||
} while (1);
|
||||
|
|
Ładowanie…
Reference in New Issue