]> git.r.bdr.sh - rbdr/mobius/blobdiff - hotline/files.go
Refactoring and cleanup
[rbdr/mobius] / hotline / files.go
index d4bea538258dc2ebc362b455bb48e27bd02952fa..0963fbfd73e50f70c7365f24c737bb07eb249fd9 100644 (file)
@@ -131,7 +131,7 @@ func getFileNameList(path string, ignoreList []string) (fields []Field, err erro
                binary.BigEndian.PutUint16(nameSize, uint16(len(strippedName)))
                copy(fnwi.NameSize[:], nameSize)
 
-               fnwi.name = []byte(strippedName)
+               fnwi.Name = []byte(strippedName)
 
                b, err := io.ReadAll(&fnwi)
                if err != nil {