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

playlist: log error message on export I/O error

parent 31d48b08
...@@ -76,6 +76,9 @@ int playlist_Export( playlist_t * p_playlist, const char *psz_filename, ...@@ -76,6 +76,9 @@ int playlist_Export( playlist_t * p_playlist, const char *psz_filename,
module_unneed( p_export, p_module ); module_unneed( p_export, p_module );
if( !ferror( p_export->p_file ) ) if( !ferror( p_export->p_file ) )
ret = VLC_SUCCESS; ret = VLC_SUCCESS;
else
msg_Err( p_playlist, "could not write playlist file: %s",
vlc_strerror_c(errno) );
} }
else else
msg_Err( p_playlist, "could not export playlist" ); msg_Err( p_playlist, "could not export playlist" );
......
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