Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions BSB_LAN/BSB_LAN.ino
Original file line number Diff line number Diff line change
Expand Up @@ -4514,7 +4514,7 @@ void loop() {
byte tx_msg[33] = { 0 }; // xmit buffer
char c = '\0';
const byte MaxArrayElement=252;
char cLineBuffer[MaxArrayElement]; //
char cLineBuffer[MaxArrayElement+1]; //
byte bPlaceInBuffer; // index into buffer
uint16_t log_now = 0;

Expand Down Expand Up @@ -4701,7 +4701,7 @@ void loop() {
}
}
}
cLineBuffer[bPlaceInBuffer++]=0;
cLineBuffer[bPlaceInBuffer]=0;
// if no credentials found in HTTP header, send 401 Authorization Required
if (USER_PASS[0] && !(httpflags & HTTP_AUTH) && isSerial == false) {
printHTTPheader(HTTP_AUTH_REQUIRED, MIME_TYPE_TEXT_HTML, HTTP_ADD_CHARSET_TO_HEADER, HTTP_FILE_NOT_GZIPPED, HTTP_NO_DOWNLOAD, HTTP_DO_NOT_CACHE);
Expand Down