bug: doesn't return buf.Err

This commit is contained in:
Cassondra Foesch 2023-03-27 17:25:27 +00:00
parent bd61319b07
commit 5a5e762d06
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ func (p *NamePacket) UnmarshalPacketBody(buf *Buffer) (err error) {
p.Entries = append(p.Entries, &e)
}
return nil
return buf.Err
}
// AttrsPacket defines the SSH_FXP_ATTRS packet.