Skip to content

Commit 46fccac

Browse files
committed
fix bug esp8266#1940
1 parent c8a1507 commit 46fccac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎libraries/ESP8266httpUpdate/src/ESP8266httpUpdate.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ HTTPUpdateResult ESP8266HTTPUpdate::handleUpdate(HTTPClient& http, const String&
220220
DEBUG_HTTP_UPDATE("[httpUpdate] - current Sketch Size: %d\n", ESP.getSketchSize());
221221

222222
if(currentVersion && currentVersion[0] != 0x00) {
223-
DEBUG_HTTP_UPDATE("[httpUpdate] - current version: %s\n", currentVersion);
223+
DEBUG_HTTP_UPDATE("[httpUpdate] - current version: %s\n", currentVersion.c_str() );
224224
}
225225

226226
switch(code) {

0 commit comments

Comments
 (0)