mirror of https://code.videolan.org/videolan/vlc
smb2: return errno directly
No changes since this function is only checked for != 0 (for now).
This commit is contained in:
parent
93b55c9f53
commit
0d51ab8a3e
|
@ -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() \
|
||||
|
|
Loading…
Reference in New Issue