smb2: return errno directly

No changes since this function is only checked for != 0 (for now).
This commit is contained in:
Thomas Guillem 2022-04-14 14:09:06 +02:00
parent 93b55c9f53
commit 0d51ab8a3e
1 changed files with 1 additions and 2 deletions

View File

@ -233,8 +233,7 @@ vlc_smb2_mainloop(struct vlc_smb2_op *op)
}
}
int ret = op->error_status == 0 ? 0 : -1;
return ret;
return op->error_status;
}
#define VLC_SMB2_GENERIC_CB() \