[fix] return add --- error: no return statement in function returning non-void (#205)

This commit is contained in:
wami 2017-02-17 07:43:59 +09:00 committed by Me No Dev
parent 90ebfdbbcc
commit 95cb54cede

View File

@ -83,12 +83,12 @@ void WiFiClientSecure::stop()
int WiFiClientSecure::connect(IPAddress ip, uint16_t port) int WiFiClientSecure::connect(IPAddress ip, uint16_t port)
{ {
connect(ip, port, _CA_cert, _cert, _private_key); return connect(ip, port, _CA_cert, _cert, _private_key);
} }
int WiFiClientSecure::connect(const char *host, uint16_t port) int WiFiClientSecure::connect(const char *host, uint16_t port)
{ {
connect(host, port, _CA_cert, _cert, _private_key); return connect(host, port, _CA_cert, _cert, _private_key);
} }
int WiFiClientSecure::connect(IPAddress ip, uint16_t port, unsigned char *_CA_cert, unsigned char *_cert, unsigned char *_private_key) int WiFiClientSecure::connect(IPAddress ip, uint16_t port, unsigned char *_CA_cert, unsigned char *_cert, unsigned char *_private_key)