mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-20 20:48:07 +00:00
fix bug in previous commit in CMakeList
This commit is contained in:
parent
cdca50a17e
commit
f712c75b66
1 changed files with 3 additions and 4 deletions
|
|
@ -71,11 +71,10 @@ static int sqlite3bctbx_Read(sqlite3_file *p, void *buf, int count, sqlite_int64
|
|||
return SQLITE_OK;
|
||||
}
|
||||
else if( ret >= 0 ){
|
||||
|
||||
/*fill in unread portion of buffer, as requested by sqlite3 documentation*/
|
||||
memset(((uint8_t*)buf) + ret, 0, count-ret);
|
||||
return SQLITE_IOERR_SHORT_READ;
|
||||
}
|
||||
|
||||
else {
|
||||
}else {
|
||||
|
||||
return SQLITE_IOERR_READ;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue