mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-14 21:38:34 +00:00
FS-4657 --resolve update libsndfile to its latest master
This commit is contained in:
1 parent
0c1f6ef2ed
commit
199a64bf6a
291 files changed
+25965
-5744
No files matched your search
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
** Copyright (C) 2005-2009 Erik de Castro Lopo
|
||||
** Copyright (C) 2005-2011 Erik de Castro Lopo
|
||||
**
|
||||
** This program is free software; you can redistribute it and/or modify
|
||||
** it under the terms of the GNU General Public License as published by
|
||||
@@ -146,7 +146,7 @@ db_file_exists (REG_DB * db_handle, const char * filename)
|
||||
|
||||
db->count = 0 ;
|
||||
err = sqlite3_exec (db->sql, db->cmdbuf, (sqlite3_callback) count_callback, db, &errmsg) ;
|
||||
if (db->count == 1)
|
||||
if (err == 0 && db->count == 1)
|
||||
return 1 ;
|
||||
|
||||
return 0 ;
|
||||
|
||||
Reference in new issue
Block a user