vlc | branch: master | Thomas Guillem <[email protected]> | Tue Feb 12 11:53:55 2019 +0100| [382d8aece66d32c76b6ced757db76d73b23759d2] | committer: Thomas Guillem
smb2: use smb2_get_error() This function returns more precise errors > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=382d8aece66d32c76b6ced757db76d73b23759d2 --- modules/access/smb2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/access/smb2.c b/modules/access/smb2.c index 280c544174..48bcf0131d 100644 --- a/modules/access/smb2.c +++ b/modules/access/smb2.c @@ -107,7 +107,7 @@ smb2_check_status(stream_t *access, int status, const char *psz_func) { if (status != -EINTR) { - const char *psz_error = vlc_strerror_c(-status); + const char *psz_error = smb2_get_error(sys->smb2); msg_Err(access, "%s failed: %d, '%s'", psz_func, status, psz_error); if (sys->error_status == 0) vlc_dialog_display_error(access, _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
