Commit 8371eceb authored by Rafaël Carré's avatar Rafaël Carré

backport [deb87a07]

parent 33045c98
...@@ -975,7 +975,7 @@ int __config_LoadConfigFile( vlc_object_t *p_this, const char *psz_module_name ) ...@@ -975,7 +975,7 @@ int __config_LoadConfigFile( vlc_object_t *p_this, const char *psz_module_name )
*****************************************************************************/ *****************************************************************************/
int config_CreateDir( vlc_object_t *p_this, const char *psz_dirname ) int config_CreateDir( vlc_object_t *p_this, const char *psz_dirname )
{ {
if( !psz_dirname && !*psz_dirname ) return -1; if( !psz_dirname || !*psz_dirname ) return -1;
if( utf8_mkdir( psz_dirname ) && ( errno != EEXIST ) ) if( utf8_mkdir( psz_dirname ) && ( errno != EEXIST ) )
{ {
......
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