]> git.sesse.net Git - vlc/blobdiff - modules/stream_out/raop.c
fix freetype compilation for WIN32 without HAVE_FONTCONFIG
[vlc] / modules / stream_out / raop.c
index 498b1c487d012229d16540cdda16b0b97923d9f0..c7e5a041f1e15faa42078904357a018fc892f857 100644 (file)
@@ -577,7 +577,7 @@ static char *ReadPasswordFile( vlc_object_t *p_this, const char *psz_path )
             *psz_newline = '\0';
     }
 
-    if ( strlen( ps_buffer ) == 0 ) {
+    if ( *ps_buffer == '\0' ) {
         msg_Err( p_this, "No password could be read from '%s'", psz_path );
         goto error;
     }