diff options
Diffstat (limited to 'vendor/gix-transport/src/client/blocking_io/http/curl/remote.rs')
-rw-r--r-- | vendor/gix-transport/src/client/blocking_io/http/curl/remote.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/gix-transport/src/client/blocking_io/http/curl/remote.rs b/vendor/gix-transport/src/client/blocking_io/http/curl/remote.rs index 8f5867698..3b435423d 100644 --- a/vendor/gix-transport/src/client/blocking_io/http/curl/remote.rs +++ b/vendor/gix-transport/src/client/blocking_io/http/curl/remote.rs @@ -322,7 +322,7 @@ pub fn new() -> ( handler.receive_body.take(); match (handler.send_header.take(), handler.send_data.take()) { (Some(header), mut data) => { - if let Err(TrySendError::Disconnected(err)) | Err(TrySendError::Full(err)) = + if let Err(TrySendError::Disconnected(err) | TrySendError::Full(err)) = header.channel.try_send(err) { if let Some(body) = data.take() { |