Skip to content

Commit a1d8b95

Browse files
authored
Fix length typo (#5189)
1 parent de66c39 commit a1d8b95

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cores/esp32/WString.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ unsigned char String::equalsConstantTime(const String &s2) const {
555555
//at this point lengths are the same
556556
if(len() == 0)
557557
return 1;
558-
//at this point lenghts are the same and non-zero
558+
//at this point lengths are the same and non-zero
559559
const char *p1 = buffer();
560560
const char *p2 = s2.buffer();
561561
unsigned int equalchars = 0;

libraries/HTTPClient/examples/StreamHttpClient/StreamHttpClient.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ void loop() {
5656
// file found at server
5757
if(httpCode == HTTP_CODE_OK) {
5858

59-
// get lenght of document (is -1 when Server sends no Content-Length header)
59+
// get length of document (is -1 when Server sends no Content-Length header)
6060
int len = http.getSize();
6161

6262
// create buffer for read

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy