[vlc-devel] commit: backport [deb87a07e5eca0662506ab6500de48c187e2a3e9] ( Rafaël Carré )

git version control git at videolan.org
Fri May 30 15:10:00 CEST 2008


vlc | branch: 0.8.6-bugfix | Rafaël Carré <funman at videolan.org> | Fri May 30 15:10:53 2008 +0200| [8371eceb5a3f352ff92005090271bb121c509c28]

backport [deb87a07e5eca0662506ab6500de48c187e2a3e9]

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8371eceb5a3f352ff92005090271bb121c509c28
---

 src/misc/configuration.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/misc/configuration.c b/src/misc/configuration.c
index 0f1bc16..b751941 100644
--- a/src/misc/configuration.c
+++ b/src/misc/configuration.c
@@ -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 )
 {
-    if( !psz_dirname && !*psz_dirname ) return -1;
+    if( !psz_dirname || !*psz_dirname ) return -1;
 
     if( utf8_mkdir( psz_dirname ) && ( errno != EEXIST ) )
     {




More information about the vlc-devel mailing list