mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 01:29:21 -04:00
Merge branch 'bugfix/lack_of_break_in_tcp_client' into 'master'
fix the bug in tcp_client See merge request idf/esp-idf!4330
This commit is contained in:
commit
ebca3e27b1
@ -147,6 +147,7 @@ static void tcp_client_task(void *pvParameters)
|
||||
int err = connect(sock, (struct sockaddr *)&destAddr, sizeof(destAddr));
|
||||
if (err != 0) {
|
||||
ESP_LOGE(TAG, "Socket unable to connect: errno %d", errno);
|
||||
break;
|
||||
}
|
||||
ESP_LOGI(TAG, "Successfully connected");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user