Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit edb7222

Browse files
committedNov 22, 2023
SocketWrapper: rename setTimeout into setConnectionTimeout to avoid shadowing
1 parent 7b95100 commit edb7222

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎libraries/SocketWrapper/src/MbedClient.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,6 @@ uint16_t arduino::MbedClient::remotePort() {
310310
return address.get_port();
311311
}
312312

313-
void arduino::MbedClient::setTimeout(unsigned long timeout) {
313+
void arduino::MbedClient::setConnectionTimeout(unsigned long timeout) {
314314
_timeout = timeout;
315315
}

‎libraries/SocketWrapper/src/MbedClient.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ class MbedClient : public arduino::Client {
9797
IPAddress remoteIP();
9898
uint16_t remotePort();
9999

100-
void setTimeout(unsigned long timeout);
100+
void setConnectionTimeout(unsigned long timeout);
101101

102102
friend class MbedServer;
103103
friend class MbedSSLClient;

0 commit comments

Comments
 (0)
Please sign in to comment.