Commit 396df1b5 authored by Srikanth Raju's avatar Srikanth Raju Committed by Jean-Baptiste Kempf

Sqlite: Typo in testing for threadsafeness

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 16cb266c
......@@ -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;
......
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