minor typo fix

This commit is contained in:
Matthieu Fronton
2015-10-13 22:38:13 +02:00
parent 97820e2d77
commit 2ada3e4c3b

View File

@@ -200,7 +200,7 @@ func Combine(parts [][]byte) ([]byte, error) {
for i, part := range parts { for i, part := range parts {
samp := part[firstPartLen-1] samp := part[firstPartLen-1]
if exists := checkMap[samp]; exists { if exists := checkMap[samp]; exists {
return nil, fmt.Errorf("duplicte part detected") return nil, fmt.Errorf("duplicate part detected")
} }
checkMap[samp] = true checkMap[samp] = true
x_samples[i] = samp x_samples[i] = samp