mirror of
https://github.com/arduino/Arduino.git
synced 2024-11-29 10:24:12 +01:00
Merge pull request #2437 from sngl/ide-1.5.x-yunclient-update
Updated YunClient::connect method'
This commit is contained in:
commit
483a798aee
@ -160,7 +160,7 @@ int YunClient::connect(const char *host, uint16_t port) {
|
|||||||
if (connected())
|
if (connected())
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
opened = false;
|
stop();
|
||||||
handle = 0;
|
handle = 0;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user