Skip to content
Snippets Groups Projects
Commit 797e1f3b authored by Thomas Guillem's avatar Thomas Guillem
Browse files

smb2: explicitly handle -EINTR

Even if it is redundant with vlc_killed() (but not all APIs return
-EINTR when killed).
parent fea7a18a
No related branches found
No related tags found
1 merge request!2034smb2: handle all interruptions
Pipeline #229094 passed with stages
in 39 minutes and 13 seconds
......@@ -952,7 +952,7 @@ error:
* case of network error (EIO) or when the user asked to cancel it
* (vlc_killed()). Indeed, in these cases, it is useless to try next smb
* modules. */
return vlc_killed() || ret == -EIO ? VLC_ETIMEOUT : VLC_EGENERIC;
return ret == -EINTR || ret == -EIO || vlc_killed() ? VLC_ETIMEOUT : VLC_EGENERIC;
}
static void
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment