mirror of
https://github.com/kataras/iris.git
synced 2025-12-19 10:57:05 +00:00
Update to version 8.5.2 | Read HISTORY.md: https://github.com/kataras/iris/blob/master/HISTORY.md#th-12-october-2017--v852
https://github.com/kataras/iris/blob/master/HISTORY.md#th-12-october-2017--v852 Former-commit-id: 2501cf6066812c2aac158d8d6cd4e992a2b538f9
This commit is contained in:
@@ -66,11 +66,12 @@ func (f *uploadedFiles) scan(dir string) {
|
||||
}
|
||||
|
||||
func (f *uploadedFiles) add(name string, size int64) uploadedFile {
|
||||
f.mu.Lock()
|
||||
uf := uploadedFile{
|
||||
Name: name,
|
||||
Size: size,
|
||||
}
|
||||
|
||||
f.mu.Lock()
|
||||
f.items = append(f.items, uf)
|
||||
f.mu.Unlock()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user