Skip to content
Browse files

Fix seek constant.

Change-Id: Ia8527b3fd9abe8c54e23d3e8abcd71cccb13e421
  • Loading branch information...
1 parent 4e5fba8 commit b26b47a8a7394d24d9bb1c17727c678ae4e796c3 @kowshik kowshik committed Oct 3, 2012
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

0 comments on commit b26b47a

Please sign in to comment.
Something went wrong with that request. Please try again.