Skip to content

Commit 94fcb02

Browse files
committed
Removed typos in EthernetClient.cpp
1 parent e580592 commit 94fcb02

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

libraries/Ethernet/src/EthernetClient.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ void EthernetClient::stop() {
150150

151151
uint8_t EthernetClient::connected() {
152152
if (_sock == MAX_SOCK_NUM) return 0;
153-
153+
154154
uint8_t s = status();
155155
return !(s == SnSR::LISTEN || s == SnSR::CLOSED || s == SnSR::FIN_WAIT ||
156156
(s == SnSR::CLOSE_WAIT && !available()));
@@ -172,6 +172,6 @@ bool EthernetClient::operator==(const EthernetClient& rhs) {
172172
return _sock == rhs._sock && _sock != MAX_SOCK_NUM && rhs._sock != MAX_SOCK_NUM;
173173
}
174174

175-
+uint8_t EthernetClient::getSocketNumber () {
176-
+ return _sock;
177-
+}
175+
uint8_t EthernetClient::getSocketNumber() {
176+
return _sock;
177+
}

0 commit comments

Comments
 (0)