From 46380003d5f31a6a77029c4fb928dbb738ca4f19 Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Wed, 13 Apr 2016 14:02:10 +0300 Subject: [PATCH] Fix compilation when debug is enabled --- libraries/ESP8266HTTPClient/src/ESP8266HTTPClient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/ESP8266HTTPClient/src/ESP8266HTTPClient.cpp b/libraries/ESP8266HTTPClient/src/ESP8266HTTPClient.cpp index bad89074bd..70ac6450ef 100644 --- a/libraries/ESP8266HTTPClient/src/ESP8266HTTPClient.cpp +++ b/libraries/ESP8266HTTPClient/src/ESP8266HTTPClient.cpp @@ -163,7 +163,7 @@ bool HTTPClient::begin(String url) _port = 443; } } else { - DEBUG_HTTPCLIENT("[HTTP-Client][begin] protocol: %s unknown?!\n", protocol.c_str()); + DEBUG_HTTPCLIENT("[HTTP-Client][begin] protocol: %s unknown?!\n", _protocol.c_str()); return false; } _transportTraits = TransportTraitsPtr(new TransportTraits());