Skip to content

Commit

Permalink
bug: doesn't return buf.Err
Browse files Browse the repository at this point in the history
  • Loading branch information
puellanivis committed Mar 27, 2023
1 parent bd61319 commit 5a5e762
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/encoding/ssh/filexfer/response_packets.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 5a5e762

Please sign in to comment.