Skip to content

Commit 66a369f

Browse files
ci(pre-commit): Apply automatic fixes
1 parent 96afd06 commit 66a369f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/AsyncWebServerRequest.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,12 @@ void AsyncWebServerRequest::send(FS &fs, const String &path, const char *content
6969
bool AsyncWebServerRequest::_getEtag(File gzFile, char *etag) {
7070
static constexpr char hexChars[] = "0123456789ABCDEF";
7171

72-
if (!gzFile.seek(gzFile.size() - 8))
72+
if (!gzFile.seek(gzFile.size() - 8)) {
7373
return false;
74+
}
7475

7576
uint32_t crc;
76-
gzFile.read(reinterpret_cast<uint8_t*>(&crc), sizeof(crc));
77+
gzFile.read(reinterpret_cast<uint8_t *>(&crc), sizeof(crc));
7778

7879
etag[0] = hexChars[(crc >> 4) & 0x0F];
7980
etag[1] = hexChars[crc & 0x0F];

0 commit comments

Comments
 (0)