forked from Hay1tsme/segatools
fix hr is not set while writing response
This commit is contained in:
parent
3b0638ca81
commit
889e923c00
@ -278,7 +278,7 @@ static HRESULT felica_cmd_read_without_encryption(
|
||||
goto fail;
|
||||
}
|
||||
|
||||
iobuf_write_be64(res, 0x0078000000000000ull);
|
||||
hr = iobuf_write_be64(res, 0x0078000000000000ull);
|
||||
|
||||
if (FAILED(hr))
|
||||
{
|
||||
@ -286,14 +286,14 @@ static HRESULT felica_cmd_read_without_encryption(
|
||||
}
|
||||
}
|
||||
default: {
|
||||
iobuf_write_be64(res, 0);
|
||||
hr = iobuf_write_be64(res, 0);
|
||||
|
||||
if (FAILED(hr))
|
||||
{
|
||||
goto fail;
|
||||
}
|
||||
|
||||
iobuf_write_be64(res, 0);
|
||||
hr = iobuf_write_be64(res, 0);
|
||||
|
||||
if (FAILED(hr))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user