Task Attachments #104

Merged
konrad merged 63 commits from feature/attachments into master 2019-10-16 20:52:31 +00:00
1 changed files with 1 additions and 3 deletions
Showing only changes of commit fcc5c20bf8 - Show all commits

View File

@ -73,9 +73,7 @@ func (t *testfile) Read(p []byte) (n int, err error) {
if t.done {
return 0, io.EOF
}
for i, b := range t.content {
p[i] = b
}
copy(p, t.content)
t.done = true
return len(p), nil
}