Skip to content

Commit

Permalink
0.8.29
Browse files Browse the repository at this point in the history
* fix compile for ESP32-C3
  • Loading branch information
lumapu committed Dec 28, 2023
1 parent cbb93cf commit 4e277e2
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions patches/AsyncWeb_Prometheus.patch
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
diff --git a/src/AsyncWebSocket.cpp b/src/AsyncWebSocket.cpp
index 12be5f8..cffeed7 100644
--- a/src/AsyncWebSocket.cpp
+++ b/src/AsyncWebSocket.cpp
@@ -737,7 +737,7 @@ void AsyncWebSocketClient::binary(const __FlashStringHelper *data, size_t len)
IPAddress AsyncWebSocketClient::remoteIP() const
{
if (!_client)
- return IPAddress(0U);
+ return IPAddress();

return _client->remoteIP();
}
diff --git a/src/WebResponses.cpp b/src/WebResponses.cpp
index 22a549f..e0b36b3 100644
--- a/src/WebResponses.cpp
Expand Down

0 comments on commit 4e277e2

Please sign in to comment.