# std: fix sendFileReading not accounting for buffer · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/9ea4d9aa3bc184a1be1199f3b519796d417c7765)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 9ea4d9aa3bc184a1be1199f3b519796d417c7765

Requested commit: 9ea4d9aa3bc184a1be1199f3b519796d417c7765

Commit: 9ea4d9aa3bc184a1be1199f3b519796d417c7765

Tree: 27992d1a191d5f1dd7e0a59e1ee84f281ffe3202

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std: fix sendFileReading not accounting for buffer

Related to 1d764c1fdf04829cec5974d82cec901825a80e49

Test case provided by:

Co-authored-by: Kendall Condon <goon.pri.low@gmail.com>

```

## Parents

- [5c0ac90721ec45c6712535a99cb90df48e59e121](https://git.cafe/gitcafe/zig/commit/5c0ac90721ec45c6712535a99cb90df48e59e121?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/9ea4d9aa3bc184a1be1199f3b519796d417c7765?format=markdown)
