Commit d1ffc881 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

smb: fix infinite loop on error

parent 8ede1547
...@@ -337,6 +337,7 @@ static ssize_t Read( access_t *p_access, uint8_t *p_buffer, size_t i_len ) ...@@ -337,6 +337,7 @@ static ssize_t Read( access_t *p_access, uint8_t *p_buffer, size_t i_len )
if( i_read < 0 ) if( i_read < 0 )
{ {
msg_Err( p_access, "read failed (%s)", vlc_strerror_c(errno) ); msg_Err( p_access, "read failed (%s)", vlc_strerror_c(errno) );
p_access->info.b_eof = true;
return -1; return -1;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment