all: Fix comment typos

Skip-check: authors

GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4481
This commit is contained in:
HairyFotr
2017-11-04 07:20:11 +00:00
committed by Jakob Borg
parent 9245d22f16
commit 7cbd92e1b1
14 changed files with 17 additions and 17 deletions

View File

@@ -92,7 +92,7 @@ loop:
return t1.Sub(t0)
}
// report stops the given process and reports on it's resource usage in two
// report stops the given process and reports on its resource usage in two
// ways: human readable to stderr, and CSV to stdout.
func report(p *rc.Process, wallTime time.Duration) {
sv, err := p.SystemVersion()

View File

@@ -189,7 +189,7 @@ done:
// We can end up here in 3 cases:
// 1. Timeout joining, in which case there are potentially entries in pendingSessions
// 2. General session end/timeout, in which case there are entries in activeSessions
// 3. Protocol handler calls dropSession as one of it's clients disconnects.
// 3. Protocol handler calls dropSession as one of its clients disconnects.
sessionMut.Lock()
delete(pendingSessions, string(s.serverkey))