mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-07-16 12:02:11 +02:00
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:
@ -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; \
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user