diff options
author | Nicolas Braud-Santoni <nicolas@braud-santoni.eu> | 2016-06-30 13:42:53 +0000 |
---|---|---|
committer | Alexandre Viau <alexandre@alexandreviau.net> | 2016-06-30 13:42:53 +0000 |
commit | 8e39e2889d58401b136e13cb6db9dedc2cf04b4e (patch) | |
tree | 6ad6e729c08f10632073ddf79b05b28f1ca651c5 | |
parent | a9ee4bb9f18d45bc22ff24f45067b0e156fbfef1 (diff) |
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
-rw-r--r-- | lib/connections/service.go | 2 | ||||
-rw-r--r-- | lib/model/model.go | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/connections/service.go b/lib/connections/service.go index 092b35db5..543fae7c3 100644 --- a/lib/connections/service.go +++ b/lib/connections/service.go @@ -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 } diff --git a/lib/model/model.go b/lib/model/model.go index 973c4845b..0e055514c 100644 --- a/lib/model/model.go +++ b/lib/model/model.go @@ -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() |