Skip to content

Commit

Permalink
Merge pull request #9 from Dirbaio/fix-abandoned
Browse files Browse the repository at this point in the history
linux: Fix STATE_ABANDONED value
  • Loading branch information
kevinmehall authored Oct 31, 2023
2 parents 99fbaa9 + b136693 commit b63fc97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transfer/internal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const STATE_PENDING: u8 = 1;

/// Like PENDING, but there is no one waiting for completion. The completion
/// handler will drop the buffer and transfer.
const STATE_ABANDONED: u8 = 3;
const STATE_ABANDONED: u8 = 2;

/// The transfer completion has been handled on the event loop thread. The
/// buffer is valid and may be accessed by the `TransferHandle`.
Expand Down

0 comments on commit b63fc97

Please sign in to comment.