removing log (#2140)

* Use right function for BSSID

* removing log
This commit is contained in:
Luc 2018-12-03 16:17:16 +01:00 committed by Me No Dev
parent 7a332864ab
commit 5cfff190e9

View File

@ -439,9 +439,8 @@ uint8_t WiFiClient::connected()
if (_connected) { if (_connected) {
uint8_t dummy; uint8_t dummy;
int res = recv(fd(), &dummy, 0, MSG_DONTWAIT); int res = recv(fd(), &dummy, 0, MSG_DONTWAIT);
if(res < 0) { // avoid unused var warning by gcc
log_e("RES: %d", res); (void)res;
}
switch (errno) { switch (errno) {
case EWOULDBLOCK: case EWOULDBLOCK:
case ENOENT: //caused by vfs case ENOENT: //caused by vfs