lib: Fix typos in connections/service.go and model/model.go

Skip-check: authors

GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3366
LGTM: aviau
This commit is contained in:
Nicolas Braud-Santoni 2016-06-30 13:42:53 +00:00 committed by Alexandre Viau
parent a9ee4bb9f1
commit 8e39e2889d
2 changed files with 3 additions and 3 deletions

View File

@ -347,7 +347,7 @@ func (s *Service) connect() {
}
if connected && dialerFactory.Priority() >= ct.Priority {
l.Debugf("Not dialing using %s as priorty is less than current connection (%d >= %d)", dialerFactory, dialerFactory.Priority(), ct.Priority)
l.Debugf("Not dialing using %s as priority is less than current connection (%d >= %d)", dialerFactory, dialerFactory.Priority(), ct.Priority)
continue
}

View File

@ -574,7 +574,7 @@ func (m *Model) Index(deviceID protocol.DeviceID, folder string, fs []protocol.F
}
if !ok {
l.Fatalf("Index for nonexistant folder %q", folder)
l.Fatalf("Index for nonexistent folder %q", folder)
}
m.pmut.RLock()
@ -615,7 +615,7 @@ func (m *Model) IndexUpdate(deviceID protocol.DeviceID, folder string, fs []prot
m.fmut.RUnlock()
if !ok {
l.Fatalf("IndexUpdate for nonexistant folder %q", folder)
l.Fatalf("IndexUpdate for nonexistent folder %q", folder)
}
m.pmut.RLock()