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

Progress towards https://jira.espressif.com:8443/browse/IDFGH-4477


* Original commit: espressif/esp-idf@10bde42551
This commit is contained in:
Angus Gratton
2021-02-18 10:09:47 +11:00
committed by gabsuren
parent 9219ff710a
commit f0351ff378

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) { \ #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; \ action; \
} }