Skip to content

Commit

Permalink
fix http logging (buf error)
Browse files Browse the repository at this point in the history
  • Loading branch information
boazsegev committed Feb 1, 2025
1 parent 0db33d8 commit 9435b6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fio-stl.h
Original file line number Diff line number Diff line change
Expand Up @@ -43791,7 +43791,7 @@ SFUNC void fio_http_write_log(fio_http_s *h) {
fio_http_from(&buf, h);
FIO_MEMCPY(buf.buf + buf.len, " - - ", 5);
FIO_MEMCPY(buf.buf + buf.len + 5, date.buf, date.len);
buf.len += date.len + 6;
buf.len += date.len + 5;
buf.buf[buf.len++] = ' ';
buf.buf[buf.len++] = '\"';
fio_string_write2 FIO_NOOP(&buf, NULL, to_write);
Expand Down
2 changes: 1 addition & 1 deletion fio-stl/431 http handle.h
Original file line number Diff line number Diff line change
Expand Up @@ -2959,7 +2959,7 @@ SFUNC void fio_http_write_log(fio_http_s *h) {
fio_http_from(&buf, h);
FIO_MEMCPY(buf.buf + buf.len, " - - ", 5);
FIO_MEMCPY(buf.buf + buf.len + 5, date.buf, date.len);
buf.len += date.len + 6;
buf.len += date.len + 5;
buf.buf[buf.len++] = ' ';
buf.buf[buf.len++] = '\"';
fio_string_write2 FIO_NOOP(&buf, NULL, to_write);
Expand Down

0 comments on commit 9435b6b

Please sign in to comment.