mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-01-18 04:58:51 +02:00
Remove extraneous assignment.
This is likely leftover cruft from a prior refactor.
This commit is contained in:
parent
9d2223b188
commit
b5347070af
@ -345,8 +345,7 @@ tlsClientRead(THIS_VOID, Buffer *buffer, bool block)
|
||||
sckClientReadWait(this->socket);
|
||||
|
||||
// Read and handle errors
|
||||
size_t expectedBytes = bufRemains(buffer);
|
||||
result = SSL_read(this->session, bufRemainsPtr(buffer), (int)expectedBytes);
|
||||
result = SSL_read(this->session, bufRemainsPtr(buffer), (int)bufRemains(buffer));
|
||||
|
||||
if (result <= 0)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user