File tree 8 files changed +8
-8
lines changed
libraries/HTTPClient/examples/StreamHttpClient
esp32/include/esp_rom/include
esp32c3/include/esp_rom/include
esp32s2/include/esp_rom/include
8 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -555,7 +555,7 @@ unsigned char String::equalsConstantTime(const String &s2) const {
555
555
// at this point lengths are the same
556
556
if (len () == 0 )
557
557
return 1 ;
558
- // at this point lenghts are the same and non-zero
558
+ // at this point lengths are the same and non-zero
559
559
const char *p1 = buffer ();
560
560
const char *p2 = s2.buffer ();
561
561
unsigned int equalchars = 0 ;
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ void loop() {
56
56
// file found at server
57
57
if (httpCode == HTTP_CODE_OK) {
58
58
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)
60
60
int len = http.getSize ();
61
61
62
62
// create buffer for read
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ typedef enum {
79
79
* The initial time with reason=CPIO_RSN_FILE_INITIAL, when more data is available with
80
80
* CPIO_RSN_FILE_MORE and finally with CPIO_RSN_FILE_END. For these calls, fileinfo
81
81
* will again contain file information. buff will be the information contained in the
82
- * file at offset buff_offset, and the lenght of this buffer will be in buff_len.
82
+ * file at offset buff_offset, and the length of this buffer will be in buff_len.
83
83
*
84
84
* The library guarantees to feed all file data to the callback consequitively, so
85
85
* within the same file, the buff_offset from a call will always be (buff_offset+buff_len)
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ typedef enum {
79
79
* The initial time with reason=CPIO_RSN_FILE_INITIAL, when more data is available with
80
80
* CPIO_RSN_FILE_MORE and finally with CPIO_RSN_FILE_END. For these calls, fileinfo
81
81
* will again contain file information. buff will be the information contained in the
82
- * file at offset buff_offset, and the lenght of this buffer will be in buff_len.
82
+ * file at offset buff_offset, and the length of this buffer will be in buff_len.
83
83
*
84
84
* The library guarantees to feed all file data to the callback consequitively, so
85
85
* within the same file, the buff_offset from a call will always be (buff_offset+buff_len)
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ typedef enum {
79
79
* The initial time with reason=CPIO_RSN_FILE_INITIAL, when more data is available with
80
80
* CPIO_RSN_FILE_MORE and finally with CPIO_RSN_FILE_END. For these calls, fileinfo
81
81
* will again contain file information. buff will be the information contained in the
82
- * file at offset buff_offset, and the lenght of this buffer will be in buff_len.
82
+ * file at offset buff_offset, and the length of this buffer will be in buff_len.
83
83
*
84
84
* The library guarantees to feed all file data to the callback consequitively, so
85
85
* within the same file, the buff_offset from a call will always be (buff_offset+buff_len)
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ typedef enum {
79
79
* The initial time with reason=CPIO_RSN_FILE_INITIAL, when more data is available with
80
80
* CPIO_RSN_FILE_MORE and finally with CPIO_RSN_FILE_END. For these calls, fileinfo
81
81
* will again contain file information. buff will be the information contained in the
82
- * file at offset buff_offset, and the lenght of this buffer will be in buff_len.
82
+ * file at offset buff_offset, and the length of this buffer will be in buff_len.
83
83
*
84
84
* The library guarantees to feed all file data to the callback consequitively, so
85
85
* within the same file, the buff_offset from a call will always be (buff_offset+buff_len)
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ typedef enum {
79
79
* The initial time with reason=CPIO_RSN_FILE_INITIAL, when more data is available with
80
80
* CPIO_RSN_FILE_MORE and finally with CPIO_RSN_FILE_END. For these calls, fileinfo
81
81
* will again contain file information. buff will be the information contained in the
82
- * file at offset buff_offset, and the lenght of this buffer will be in buff_len.
82
+ * file at offset buff_offset, and the length of this buffer will be in buff_len.
83
83
*
84
84
* The library guarantees to feed all file data to the callback consequitively, so
85
85
* within the same file, the buff_offset from a call will always be (buff_offset+buff_len)
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ typedef enum {
79
79
* The initial time with reason=CPIO_RSN_FILE_INITIAL, when more data is available with
80
80
* CPIO_RSN_FILE_MORE and finally with CPIO_RSN_FILE_END. For these calls, fileinfo
81
81
* will again contain file information. buff will be the information contained in the
82
- * file at offset buff_offset, and the lenght of this buffer will be in buff_len.
82
+ * file at offset buff_offset, and the length of this buffer will be in buff_len.
83
83
*
84
84
* The library guarantees to feed all file data to the callback consequitively, so
85
85
* within the same file, the buff_offset from a call will always be (buff_offset+buff_len)
You can’t perform that action at this time.
0 commit comments