all: Fix typos (#4772)

Skip-check: authors
This commit is contained in:
Matic Potočnik
2018-02-24 08:51:29 +01:00
committed by Jakob Borg
parent a27032f09e
commit 1901a5a9f4
6 changed files with 7 additions and 7 deletions

View File

@@ -1405,7 +1405,7 @@ func (cf cFiler) CurrentFile(file string) (protocol.FileInfo, bool) {
return cf.m.CurrentFolderFile(cf.r, file)
}
// Connection returns the current connection for device, and a boolean wether a connection was found.
// Connection returns the current connection for device, and a boolean whether a connection was found.
func (m *Model) Connection(deviceID protocol.DeviceID) (connections.Connection, bool) {
m.pmut.RLock()
cn, ok := m.conn[deviceID]