diff options
Diffstat (limited to 'gocryptfs-xray/paths_ctlsock.go')
-rw-r--r-- | gocryptfs-xray/paths_ctlsock.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gocryptfs-xray/paths_ctlsock.go b/gocryptfs-xray/paths_ctlsock.go index c489f0e..278916f 100644 --- a/gocryptfs-xray/paths_ctlsock.go +++ b/gocryptfs-xray/paths_ctlsock.go @@ -31,7 +31,7 @@ func transformPaths(socketPath string, req *ctlsock.RequestStruct, in *string, s separator = '\000' } r := bufio.NewReader(os.Stdin) - for eof := false; eof == false; line++ { + for eof := false; !eof; line++ { val, err := r.ReadBytes(separator) if len(val) == 0 { break |