Fix build

This commit is contained in:
Audrius Butkevicius
2015-03-22 08:46:26 +01:00
committed by Jakob Borg
parent 28702a1c9d
commit 765dda6ad7
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1484,7 +1484,7 @@ func (m *Model) GlobalDirectoryTree(folder, prefix string, levels int, dirsonly
return output
}
func (m *Model) availability(folder, file string) []protocol.DeviceID {
func (m *Model) Availability(folder, file string) []protocol.DeviceID {
// Acquire this lock first, as the value returned from foldersFiles can
// get heavily modified on Close()
m.pmut.RLock()