Fix lint warnings.
This commit was merged in pull request #11.
This commit is contained in:
@@ -32,7 +32,7 @@ func (c *textWithoutLanguage) unmarshal(byteStream io.Reader) {
|
||||
|
||||
func (c *textWithoutLanguage) marshal() []byte {
|
||||
l := 5 + len(c.name) + len(c.value)
|
||||
b := make([]byte, l, l)
|
||||
b := make([]byte, l)
|
||||
b[0] = byte(textWithoutLanguageValueTag)
|
||||
marshalNameValue(c.name, c.value, b[1:])
|
||||
return b
|
||||
|
||||
Reference in New Issue
Block a user