Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix seek constant.

Change-Id: Ia8527b3fd9abe8c54e23d3e8abcd71cccb13e421
  • Loading branch information...
commit b26b47a8a7394d24d9bb1c17727c678ae4e796c3 1 parent 4e5fba8
@kowshik kowshik authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  go/src/directoryserver/streaming.go
View
3  go/src/directoryserver/streaming.go
@@ -42,8 +42,7 @@ func streamFile(writer io.Writer, path string, maxIdleTime uint32) error {
return err
}
- // Seek to EOF.
- _, err = handle.Seek(0, 2)
+ _, err = handle.Seek(0, os.SEEK_END)
if err != nil {
handle.Close()
return err
Please sign in to comment.
Something went wrong with that request. Please try again.