esp_websocket_client: Don't log the filename when logging "Websocket already stop"

Progress towards https://jira.espressif.com:8443/browse/IDFGH-4477
This commit is contained in:
Angus Gratton 2021-02-18 10:09:47 +11:00
parent 9c6d4de1e6
commit 10bde42551

View File

@ -58,7 +58,7 @@ static const char *TAG = "WEBSOCKET_CLIENT";
}
#define ESP_WS_CLIENT_STATE_CHECK(TAG, a, action) if ((a->state) < WEBSOCKET_STATE_INIT) { \
ESP_LOGE(TAG,"%s:%d (%s): %s", __FILE__, __LINE__, __FUNCTION__, "Websocket already stop"); \
ESP_LOGE(TAG,"%s(%d): %s", __FUNCTION__, __LINE__, "Websocket already stop"); \
action; \
}