]> git.sesse.net Git - vlc/blobdiff - modules/misc/sqlite.c
Revert "macosx/framework: contrib are fat now."
[vlc] / modules / misc / sqlite.c
index 6b47b1c5ba50d78d585f0d4c30c2e4bdefccf0af..5b89a29e761e49f85ca220b53e6cb1d59cb2c9a7 100644 (file)
@@ -209,7 +209,7 @@ static int OpenDatabase( sql_t *p_sql )
 {
     assert( p_sql->psz_host && *p_sql->psz_host );
 
-    if( sqlite3_threadsafe() != 0 )
+    if( sqlite3_threadsafe() == 0 )
     {
         msg_Err( p_sql, "Sqlite library on your system is not threadsafe" );
         return VLC_EGENERIC;