void*zrtp_cache_db=NULL;/* use a void * instead of sqlite3 * to avoid problems and ifdef when SQLITE is not available(the get function shall return NULL in that case) */
if(msg->content_type){
...
...
@@ -862,7 +862,7 @@ int lime_im_encryption_engine_process_outgoing_message_cb(LinphoneImEncryptionEn
buf=sqlite3_mprintf("SELECT * FROM history WHERE remoteContact = %Q AND direction = %i AND status != %i",peer,LinphoneChatMessageIncoming,LinphoneChatMessageStateDisplayed);