fix the bug in tcp_client

Closes https://github.com/espressif/esp-idf/issues/3058
pull/3110/head
xiehang 2019-02-21 16:25:07 +08:00 zatwierdzone przez bot
rodzic 140b6e3893
commit 1e8b8d91a5
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -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");