File tree Expand file tree Collapse file tree 8 files changed +8
-8
lines changed
libraries/HTTPClient/examples/StreamHttpClient
esp32c3/include/esp_rom/include
esp32s2/include/esp_rom/include
esp32/include/esp_rom/include Expand file tree Collapse file tree 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 {
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 ;
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ typedef enum {
7979 * The initial time with reason=CPIO_RSN_FILE_INITIAL, when more data is available with
8080 * CPIO_RSN_FILE_MORE and finally with CPIO_RSN_FILE_END. For these calls, fileinfo
8181 * 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.
8383 *
8484 * The library guarantees to feed all file data to the callback consequitively, so
8585 * 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 {
7979 * The initial time with reason=CPIO_RSN_FILE_INITIAL, when more data is available with
8080 * CPIO_RSN_FILE_MORE and finally with CPIO_RSN_FILE_END. For these calls, fileinfo
8181 * 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.
8383 *
8484 * The library guarantees to feed all file data to the callback consequitively, so
8585 * 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 {
7979 * The initial time with reason=CPIO_RSN_FILE_INITIAL, when more data is available with
8080 * CPIO_RSN_FILE_MORE and finally with CPIO_RSN_FILE_END. For these calls, fileinfo
8181 * 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.
8383 *
8484 * The library guarantees to feed all file data to the callback consequitively, so
8585 * 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 {
7979 * The initial time with reason=CPIO_RSN_FILE_INITIAL, when more data is available with
8080 * CPIO_RSN_FILE_MORE and finally with CPIO_RSN_FILE_END. For these calls, fileinfo
8181 * 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.
8383 *
8484 * The library guarantees to feed all file data to the callback consequitively, so
8585 * 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 {
7979 * The initial time with reason=CPIO_RSN_FILE_INITIAL, when more data is available with
8080 * CPIO_RSN_FILE_MORE and finally with CPIO_RSN_FILE_END. For these calls, fileinfo
8181 * 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.
8383 *
8484 * The library guarantees to feed all file data to the callback consequitively, so
8585 * 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 {
7979 * The initial time with reason=CPIO_RSN_FILE_INITIAL, when more data is available with
8080 * CPIO_RSN_FILE_MORE and finally with CPIO_RSN_FILE_END. For these calls, fileinfo
8181 * 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.
8383 *
8484 * The library guarantees to feed all file data to the callback consequitively, so
8585 * 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