mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 04:25:32 +00:00
log: Make ESP_LOGx macros into single statements
Requires a semicolon after any use (previously this was optional due to trailing } after expansion) Closes https://github.com/espressif/esp-idf/issues/1757
This commit is contained in:

committed by
Angus Gratton

parent
5d3b26e8d0
commit
2f318d16fa
@@ -163,13 +163,13 @@ reconnect:
|
||||
ESP_LOGI(TAG, "SSL read: %s", recv_buf);
|
||||
if (strstr(recv_buf, "GET ") &&
|
||||
strstr(recv_buf, " HTTP/1.1")) {
|
||||
ESP_LOGI(TAG, "SSL get matched message")
|
||||
ESP_LOGI(TAG, "SSL write message")
|
||||
ESP_LOGI(TAG, "SSL get matched message");
|
||||
ESP_LOGI(TAG, "SSL write message");
|
||||
ret = SSL_write(ssl, send_data, send_bytes);
|
||||
if (ret > 0) {
|
||||
ESP_LOGI(TAG, "OK")
|
||||
ESP_LOGI(TAG, "OK");
|
||||
} else {
|
||||
ESP_LOGI(TAG, "error")
|
||||
ESP_LOGI(TAG, "error");
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user