Skip to content

Commit

Permalink
Remove useless assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
jedisct1 committed Oct 3, 2016
1 parent 11d27b8 commit 3ffc181
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func (client *Client) copyOperation(h1 []byte) {
writer.Write(ts)
writer.Write(signature)
writer.Write(ciphertextWithNonce)
if err := writer.Flush(); err != nil {
if writer.Flush() != nil {
log.Fatal(err)
}
rbuf := make([]byte, 32)
Expand Down

0 comments on commit 3ffc181

Please sign in to comment.