Fix build

This commit is contained in:
Audrius Butkevicius
2015-03-17 17:52:50 +00:00
parent e1975644d6
commit de38b46392
2 changed files with 2 additions and 2 deletions

View File

@@ -1495,7 +1495,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()