mirror of
				https://github.com/esp8266/Arduino.git
				synced 2025-11-03 14:33:37 +03:00 
			
		
		
		
	Fix return value of WiFiClient::connect (#511)
This commit is contained in:
		@@ -110,7 +110,7 @@ int WiFiClient::connect(IPAddress ip, uint16_t port)
 | 
			
		||||
    netif* interface = ip_route(&addr);
 | 
			
		||||
    if (!interface) {
 | 
			
		||||
        DEBUGV("no route to host\r\n");
 | 
			
		||||
        return 1;
 | 
			
		||||
        return 0;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    tcp_pcb* pcb = tcp_new();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user