Merge pull request #696 from frntn/patch-1

minor typo fix
This commit is contained in:
Seth Vargo 2015-10-13 16:38:39 -04:00
commit 8958e61e3c

View file

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