Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
lesismal committed Jan 1, 2025
1 parent 0daca45 commit 3703270
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nbhttp/response.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ APPEND_BODY:
res.bodyWritten += l
res.bodyBuffer = mempool.Append(res.bodyBuffer, data...)
if len(*res.bodyBuffer) >= maxPacketSize {
l, err := conn.Write(*res.bodyBuffer)
l, err = conn.Write(*res.bodyBuffer)
if err != nil {
mempool.Free(res.bodyBuffer)
res.bodyBuffer = nil
Expand Down

0 comments on commit 3703270

Please sign in to comment.