Skip to content

Commit 742caa1

Browse files
committed
fix debug build
1 parent ee2d449 commit 742caa1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libraries/ESP8266HTTPClient/src/ESP8266HTTPClient.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ int HTTPClient::sendRequest(const char * type, Stream * stream, size_t size) {
386386
}
387387

388388
} else {
389-
DEBUG_HTTPCLIENT("[HTTP-Client][writeToStream] too less ram! need " HTTP_TCP_BUFFER_SIZE);
389+
DEBUG_HTTPCLIENT("[HTTP-Client][sendRequest] too less ram! need %d\n", HTTP_TCP_BUFFER_SIZE);
390390
return HTTPC_ERROR_TOO_LESS_RAM;
391391
}
392392

@@ -491,7 +491,7 @@ int HTTPClient::writeToStream(Stream * stream) {
491491
}
492492

493493
} else {
494-
DEBUG_HTTPCLIENT("[HTTP-Client][writeToStream] too less ram! need " HTTP_TCP_BUFFER_SIZE);
494+
DEBUG_HTTPCLIENT("[HTTP-Client][writeToStream] too less ram! need %d\n", HTTP_TCP_BUFFER_SIZE);
495495
return HTTPC_ERROR_TOO_LESS_RAM;
496496
}
497497

0 commit comments

Comments
 (0)