mirror of
https://github.com/octoleo/syncthing.git
synced 2025-02-08 14:58:26 +00:00
Make immediate write error only slightly less cryptic (fixes #51)
This commit is contained in:
parent
89c2f61b30
commit
9bd4fa5008
@ -112,7 +112,7 @@ func NewConnection(nodeID string, reader io.Reader, writer io.Writer, receiver M
|
|||||||
c.mwriter.writeOptions(options)
|
c.mwriter.writeOptions(options)
|
||||||
err := c.flush()
|
err := c.flush()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Printf("Warning:", err)
|
log.Println("Warning: Write error during initial handshake:", err)
|
||||||
}
|
}
|
||||||
c.nextId++
|
c.nextId++
|
||||||
c.Unlock()
|
c.Unlock()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user