Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pwrite_Async appears to return 0 upon success, not number of bytes. #74

Closed
noahmorrison1 opened this issue Sep 27, 2018 · 2 comments
Closed

Comments

@noahmorrison1
Copy link

For the smb2_pwrite_async function, the callback function receives a status of 0 when a write completes successfully instead of the number of bytes written.

@sahlberg
Copy link
Owner

sahlberg commented Oct 1, 2018

I created an example program using smb2_pwrite_async().
Please try current master.

The callback returns <0 if there is an error and >0 for number of bytes written.

@sahlberg
Copy link
Owner

sahlberg commented Feb 5, 2019

Cant reproduce

@sahlberg sahlberg closed this as completed Feb 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants