Skip to content
Snippets Groups Projects
user avatar
Alberto Faria authored
They currently return the value of their headerlen/buflen parameter on
success. Returning 0 instead makes it clear that short reads/writes are
not possible.

Signed-off-by: default avatarAlberto Faria <afaria@redhat.com>
Reviewed-by: default avatarEric Blake <eblake@redhat.com>
Reviewed-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20220609152744.3891847-5-afaria@redhat.com>
Reviewed-by: default avatarHanna Reitz <hreitz@redhat.com>
Signed-off-by: default avatarHanna Reitz <hreitz@redhat.com>
757dda54
History