all: Fix typos (#4772)

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

No files matched your search

+1 -1
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]